[zshrc] Fix bug with running command containing '%'
This commit is contained in:
parent
f377c914fc
commit
28bad78db0
1 changed files with 2 additions and 2 deletions
4
zshrc
4
zshrc
|
@ -91,13 +91,13 @@ alias zbarcam='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so zbarcam'
|
|||
case $TERM in
|
||||
xterm*)
|
||||
preexec () {
|
||||
print -Pn "\e]0;xterm - $1 - ${HOST} - ${PWD}\a"
|
||||
print -n "\e]0;xterm - $1 - ${HOST} - ${PWD}\a"
|
||||
}
|
||||
;;
|
||||
# Fix broken ssh with st
|
||||
st*)
|
||||
preexec () {
|
||||
print -Pn "\e]0;st - $1 - ${HOST} - ${PWD}\a"
|
||||
print -n "\e]0;st - $1 - ${HOST} - ${PWD}\a"
|
||||
}
|
||||
alias ssh='TERM=xterm ssh -A'
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue