commit 094dfbda78c7a1b17beb8276996d52715938790d
parent 05d27a79219980df388abdd8e75dd713071e8bbb
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sun, 28 Feb 2016 15:45:11 +0100
continue fixing for 256color
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zsh/zshrc b/zsh/zshrc
@@ -188,7 +188,7 @@ function precmd () {
# _z --add "$(pwd -P)"
if [[ "$TERM" == "screen" ]]; then
echo -ne "\ek_\e\\"
- elif [[ "$TERM" == "rxvt-unicode" ]]; then
+ elif [[ "$TERM" == "rxvt-unicode" || "$TERM" == "rxvt-unicode-256color" ]]; then
local WD="$(pwd | sed "s/^\/home\/$USER/~/")"
if [ -n "$LASTCMD" ]
then