bashrc 580 B

1234567891011121314151617181920212223242526
  1. if [ -f "/usr/local/dcs/lib/config/Bash_Profile" ]; then
  2. source /usr/local/dcs/lib/config/Bash_Profile
  3. fi
  4. PS1='\[\e[1;32m\]\u@\h \W\$ \[\e[0m\]'
  5. # ls pleasantness
  6. alias l='\ls --color=auto'
  7. alias ls='ls --color=auto'
  8. alias la='ls -a --color=auto'
  9. alias lsa='ls -a --color=auto'
  10. alias lls='ls -lh --color=auto'
  11. alias ll='ls -lh --color=auto'
  12. # grep the entirety of the history
  13. alias hg='history | grep'
  14. # Use vim as the default text editor
  15. export VISUAL=vim
  16. # local folder in PATH
  17. export PATH=$HOME/bin:$PATH
  18. # alias for vim muscle memory when quitting
  19. alias :q='exit'