zsh: activar bg_notify en remotos

This commit is contained in:
Cat /dev/Nulo 2021-12-22 21:18:55 -03:00
parent 332905dba1
commit a40f12f305

View file

@ -38,8 +38,5 @@ bgnotify_end() {
bgnotify_timestamp=0 bgnotify_timestamp=0
} }
## only enable if a local (non-ssh) connection add-zsh-hook preexec bgnotify_begin
if [ -z "$SSH_CLIENT" ] && [ -z "$SSH_TTY" ]; then add-zsh-hook precmd bgnotify_end
add-zsh-hook preexec bgnotify_begin
add-zsh-hook precmd bgnotify_end
fi