.bashrc 622 B

12345678910111213141516171819202122232425
  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 emacs as the default text editor
  17. export EDITOR="emacsclient -t"
  18. export VISUAL="emacsclient -c -a emacs"
  19. # local folder in PATH
  20. export PATH=$HOME/bin:$PATH