zsh: activar bg_notify en remotos
This commit is contained in:
parent
332905dba1
commit
a40f12f305
1 changed files with 2 additions and 5 deletions
|
@ -38,8 +38,5 @@ bgnotify_end() {
|
||||||
bgnotify_timestamp=0
|
bgnotify_timestamp=0
|
||||||
}
|
}
|
||||||
|
|
||||||
## only enable if a local (non-ssh) connection
|
|
||||||
if [ -z "$SSH_CLIENT" ] && [ -z "$SSH_TTY" ]; then
|
|
||||||
add-zsh-hook preexec bgnotify_begin
|
add-zsh-hook preexec bgnotify_begin
|
||||||
add-zsh-hook precmd bgnotify_end
|
add-zsh-hook precmd bgnotify_end
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in a new issue