.bashrc 687 B

123456789101112131415161718192021222324252627282930
  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. # Custom ls colors
  13. eval $(dircolors ~/.dircolors)
  14. # grep the entirety of the history
  15. alias hg='history | grep'
  16. # Use vim as the default text editor
  17. export VISUAL=vim
  18. # local folder in PATH
  19. export PATH=$HOME/bin:$PATH
  20. # Terminal Emacs
  21. alias emacs-term='\emacs -nw --color=no'
  22. # alias for vim muscle memory when quitting
  23. alias :q='exit'