my dotfiles
- run
init.sh
./init.sh
~/.bashrc
echo in bashrc
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f ~/.bash_git ]; then
. ~/.bash_git
fi
~/.profile
echo "in profile"
if [ -f $HOME/.bashrc ]; then
source $HOME/.bashrc
fi
-
(optional)
~/.bash_profile
if exists copy content from~/.profile
-
(optional)
~/.zshrc
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f ~/.zsh_aliases ]; then
. ~/.zsh_aliases
fi
if [ -f ~/.zsh_git ]; then
. ~/.zsh_git
fi