Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # colored prompt, with git support
- PS1='[\[\033[38m\]\u@\h \[\033[94m\]\W\[\033[95m\]$(__git_ps1)\[\033[37m\]]$\[\033[00m\] '
- # If this is an xterm set the title to user@host:dir
- case "$TERM" in
- xterm*|rxvt*)
- PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%.local}: ${PWD/$HOME/~}\007"'
- ;;
- *)
- ;;
- esac
Add Comment
Please, Sign In to add comment