SHARE
TWEET

Untitled

a guest Apr 21st, 2011 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # /etc/bash.bashrc
  3. #
  4.  
  5. # If not running interactively, don't do anything
  6. [[ $- != *i* ]] && return
  7.  
  8. PS1='[u@h W]$ '
  9. PS2='> '
  10. PS3='> '
  11. PS4='+ '
  12.  
  13. case ${TERM} in
  14.   xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
  15.     PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "33]0;%s@%s:%s07" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
  16.                                                        
  17.     ;;
  18.   screen)
  19.     PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "33_%s@%s:%s33\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
  20.     ;;
  21. esac
  22.  
  23. [ -r /etc/bash_completion   ] && . /etc/bash_completion
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top