.bash_profile

  1. # Get the aliases and functions
  2. if [ -f ~/.bashrc ]; then
  3. . ~/.bashrc
  4. fi
  5. # User specific environment and startup programs
  6. PATH=$PATH:$HOME/bin
  7. export PATH

.bashrc

  1. # User specific aliases and functions
  2. alias rm='rm -i'
  3. alias cp='cp -i'
  4. alias mv='mv -i'
  5. # Source global definitions
  6. if [ -f /etc/bashrc ]; then
  7. . /etc/bashrc
  8. fi
  9. ~