Simplify title, it's too long.

This commit is contained in:
Julien Palard 2019-11-15 11:22:45 +01:00
parent 259985f2eb
commit 4781a4a7a0
1 changed files with 1 additions and 1 deletions

View File

@ -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" ]