mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 04:28:00 +00:00
Match xterm-color, the default OS X terminal
This commit is contained in:
parent
800cfb5c41
commit
36bc60455b
@ -5,7 +5,7 @@ function title {
|
|||||||
print -nR $'\033k'$1$'\033'\\\
|
print -nR $'\033k'$1$'\033'\\\
|
||||||
|
|
||||||
print -nR $'\033]0;'$2$'\a'
|
print -nR $'\033]0;'$2$'\a'
|
||||||
elif [[ $TERM == "xterm" || $TERM == "rxvt" ]]; then
|
elif [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then
|
||||||
# Use this one instead for XTerms:
|
# Use this one instead for XTerms:
|
||||||
print -nR $'\033]0;'$*$'\a'
|
print -nR $'\033]0;'$*$'\a'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user