From a40f12f3052c15bd261afbfbcc73c731142537b7 Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 22 Dec 2021 21:18:55 -0300 Subject: [PATCH] zsh: activar bg_notify en remotos --- .config/zsh/bg_notify.zsh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.config/zsh/bg_notify.zsh b/.config/zsh/bg_notify.zsh index 41d22ae..7e0783c 100644 --- a/.config/zsh/bg_notify.zsh +++ b/.config/zsh/bg_notify.zsh @@ -38,8 +38,5 @@ bgnotify_end() { 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 precmd bgnotify_end -fi +add-zsh-hook preexec bgnotify_begin +add-zsh-hook precmd bgnotify_end