Fix broken ssh on old zsh versions with st
This commit is contained in:
parent
85d29d1e29
commit
3873b18875
1 changed files with 5 additions and 1 deletions
6
zshrc
6
zshrc
|
@ -62,13 +62,17 @@ alias minecraft="java -jar $HOME/.minecraft/launcher.jar"
|
||||||
alias redwm='cd ~/abs/dwm; updpkgsums; makepkg -fi --noconfirm; killall dwm'
|
alias redwm='cd ~/abs/dwm; updpkgsums; makepkg -fi --noconfirm; killall dwm'
|
||||||
|
|
||||||
|
|
||||||
# Titre du terminal
|
# Term specific hacks
|
||||||
case $TERM in
|
case $TERM in
|
||||||
xterm*)
|
xterm*)
|
||||||
preexec () {
|
preexec () {
|
||||||
print -Pn "\e]0;$1 -- ${USER}@${HOST}\a"
|
print -Pn "\e]0;$1 -- ${USER}@${HOST}\a"
|
||||||
}
|
}
|
||||||
;;
|
;;
|
||||||
|
# Fix broken ssh with st
|
||||||
|
st*)
|
||||||
|
alias ssh='TERM=xterm ssh'
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue