Bash configuration.
Clone into the home directory:
git clone https://github.com/akshayganeshen/dotfiles-bash.git ~/.bash.d
Link the bash profile:
ln -s ~/.bash.d/bashrc.bash ~/.bash_profile
If a ~/.dircolors
file exists, it will be automatically loaded.
For this to work, dircolors
must also be installed.
If a ~/.fzf
directory exists, the completions and key-bindings will be
automatically loaded.
A global config/gitignore
file is included in the repo. To use it, add the
excludesfile
configuration under the [core]
section in .gitconfig
:
cat >> ~/.gitconfig <<EOF
[core]
excludesfile = ~/.bash.d/config/gitignore
EOF
If Homebrew is available, ${PATH}
will be configured to prefer binaries
installed through there (some system binaries may be ignored).