Improve navi #1
+2
-2
@@ -51,11 +51,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
function theme_preexec {
|
function theme_preexec {
|
||||||
print -nr $'\e]2;'"$USER@$(hostname) » $PWD » $1 $2"$'\a'
|
print -nr $'\e]2;'"$USER@$HOST » $PWD » $1"$'\a'
|
||||||
}
|
}
|
||||||
add-zsh-hook preexec theme_preexec
|
add-zsh-hook preexec theme_preexec
|
||||||
|
|
||||||
function theme_precmd {
|
function theme_precmd {
|
||||||
print -nr $'\e]2;'"$USER@$(hostname) » $PWD"$'\a'
|
print -nr $'\e]2;'"$USER@$HOST » $PWD"$'\a'
|
||||||
}
|
}
|
||||||
add-zsh-hook precmd theme_precmd
|
add-zsh-hook precmd theme_precmd
|
||||||
|
|||||||
Reference in New Issue
Block a user