chunfengd / dotfiles

my dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

my dotfiles

usage

  1. run init.sh
./init.sh
  1. ~/.bashrc
echo in bashrc

if [ -f ~/.bash_aliases ]; then
  . ~/.bash_aliases
fi
if [ -f ~/.bash_git ]; then
  . ~/.bash_git
fi
  1. ~/.profile
echo "in profile"

if [ -f $HOME/.bashrc ]; then
    source $HOME/.bashrc
fi
  1. (optional) ~/.bash_profile if exists copy content from ~/.profile

  2. (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

About

my dotfiles


Languages

Language:Shell 100.0%