Simplify title, it's too long.
This commit is contained in:
parent
259985f2eb
commit
4781a4a7a0
2
.bashrc
2
.bashrc
|
@ -55,7 +55,7 @@ WHITE=$'\E[00m'
|
|||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||
|
||||
[ "$TERM" != 'linux' -a z"$TERM" != z'eterm-color' ] && TITLE="\[\033]0;\u@\H:\w\a\]" || TITLE=''
|
||||
[ "$TERM" != 'linux' -a z"$TERM" != z'eterm-color' ] && TITLE="\[\033]0;\H\a\]" || TITLE=''
|
||||
export PS1="$TITLE\[$USERNAME_COLOR\]\u\[$WHITE\]@\[$HOSTNAME_COLOR\]\H\[$WHITE\]"
|
||||
|
||||
if ! [ -f "$HOME/.git-prompt.sh" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user