In your ~/.bashrc, ensure that you are checking for the existence of everyone of these dotfiles, e.g., for .bash_aliases and .bash_functions, your ~/.bashrc might have something like:
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fiif [ -f ~/.bash_functions ]; then
. ~/bash_functions
figit clonethis repository to wherever you like, but probably your home directory.- In your home directory, create symlinks to to the files in this repository so that your
~/.bashrccan load them.
For example, if we have cloned the repository to ~, then we create symlinks by doing the following:
ln -s ~/dotfiles/.bash_aliases ~/.bash_aliasesln -s ~/dotfiles/.bash_exports ~/.bash_exportsln -s ~/dotfiles/.bash_functions ~/.bash_functions