Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # /etc/bash.bashrc
- #
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- #PS1='[\u@\h \W]\$ '
- PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;92m\]'
- PS2='> '
- PS3='> '
- PS4='+ '
- case ${TERM} in
- xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
- PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
- ;;
- screen)
- PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
- ;;
- esac
- [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement