Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case "$TERM" in
- xterm*)
- export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'
- PS1='\[\e[32;1m\]\h:\w \u\$\[\e[0m\] '
- ;;
- *)
- PS1='\h:\w \u\$ '
- ;;
- esac
- export PS1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement