Advertisement
Guest User

AlecSchueler

a guest
Aug 21st, 2009
522
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. # PS1='\n\t  : \w \n\u@\h$: '
  2. # PS2='         $  '
  3.  
  4. if [ $UID -gt 2 ]
  5.   then
  6. PS1='\n     \[\033[1;31m\]\A\[\033[1;0m\]: \[\033[1;36m\]\w\[\033[1;0m\]\n\[\033[1;33m\]\u@\h\$\[\033[1;0m\]: '
  7.   else
  8. PS1='\n\[\033[1;31m\]\t\[\033[1;0m\]  : \[\033[1;36m\]\w\[\033[1;0m\]\n\[\033[0;31m\]\u\[\033[1;33m\]@\h\$\[\033[1;0m\]: '
  9. fi
  10.  
  11. PS2='         $  '
  12.  
  13. PROMPT_COMMAND='if [[ $? -eq 127 ]];then echo;fortune;fi'
  14.  
  15. source .aliases
  16.  
  17. shopt -s histappend
  18. shopt -s checkwinsize
  19. shopt -s cdspell
  20. shopt -u promptvars
  21.  
  22. complete -d cd
  23. complete -c which man whatis killall sudo yaourt
  24. set -o vi
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement