diff --git a/files/zsh/rm-orphaned-zshes.sh b/files/zsh/rm-orphaned-zshes.sh index a133661..af3a1d8 100644 --- a/files/zsh/rm-orphaned-zshes.sh +++ b/files/zsh/rm-orphaned-zshes.sh @@ -14,6 +14,6 @@ kill -9 "$pid" 2>/dev/null fi done -) & +) #& #pgrep -f zsh | xargs -I {} sh -c 'if [ "$(ps -o ppid= -p {})" -eq 1 ]; then kill {}; fi' \ No newline at end of file