$ git clone --recursive https://github.com/mattin4d/dotfiles.git .dotfiles && cd .dotfiles && ./install
--helpShows usage--update-submodulesUpdate submodules to latest versions--uninstallRemoves managed config files-XInstalls X related config files (.Xresources and such)
Bashrc hooks can be used to set variables or add additional local configurations.
File ~/.bashrc_local_before is sourced before files in bashrc.d
Variables Available:
DOTFILES_ENABLE_GIT_PROMPTEnables a git prompt (see bashrc.d/50-git-prompt)DOTFILES_ENABLE_STARSHIPEnables a starship prompt styled to match the git prompt above (see bashrc.d/50-starship-prompt and starship.toml); requires thestarshipbinary and the starship config component to be installed. Use this instead ofDOTFILES_ENABLE_GIT_PROMPT, not alongside itDOTFILES_ENABLE_TMUX_LSEnables listing tmux sessions (see bashrc.d/95-tmux)DOTFILES_ENABLE_SCREEN_LSEnables listing screen sessions (see bashrc.d/95-screen)
File ~/.bashrc_local_after is sourced after files in bashrc.d
This is where you would want to put most customizations, especially if overriding defaults in this repo.
Bash profile hooks can be used to set variables or add additional local configurations.
File ~/.bash_profile_local_before is sourced before files in bash_profile.d
Variables Available:
DOTFILES_ENABLE_NEOFETCHEnables neofetch if installed (seebash_profile.d/50-neofetch)DOTFILES_ENABLE_MOTDEnables a motd w/ kernel info & uptime (seebash_profile.d/51-motd)DOTFILES_ENABLE_SSH_AGENTEnables ssh-agent (seebash_profile.d/90-ssh-agent)
File ~/.bash_profile_local_after is sourced after files in bash_profile.d, and before sourcing ~/.bashrc
This is where you would want to put most customizations, especially if overriding defaults in this repo.
- Fix git prompt PS1 bug on Alpine Linux
- Handle backup/restore of original config files on install/uninstall