bash startup files and vim configuration
git clone https://github.com/princebot/dotfiles
bash dotfiles/installer/install
- macOS/OS X, Debian/Ubuntu, or Red Hat/CentOS
- Bash 4.x
These may work in other environments without modification, but that has not been tested.
(Note for Mac users: Macs ship with an old version of Bash due to licensing issues, so use homebrew to install Bash 4.x first.)
The installer does the following:
- backs up existing
/.bash_profile, /.bashrc, //.bash_logout, and /.vimrc - copies profile to ~/.bashrc
- hard links
/.bashrcto /.bash_profile - copies vimrc to ~/.vimrc
- copies dotfiles.d to ~/.dotfiles.d/
New shells will source the main configuration in /.config/dotfiles/lib/dotfiles.bash,
which in turn sources every file matching /.dotfiles.d/*.*sh.
To add new configuration, create a new file in /.dotfiles.d to be
sourced with all the others; for example, to add Visual Studio Code
configuration, you might create a /.dotfiles.d/vscode.bash file.
- Revise and complete README.
- Refactor installer for new dotfiles location
~/.config/dotfiles
. - Try out adding tests using bats