Files
ansible-repo/files/zsh/rm-orphaned-zshes.sh
hogweed1 bc70cea468
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
well,
2026-11-10 02:11:32 +10:00

1 line
88 B
Bash

pgrep -f zsh | xargs -I {} sh -c 'if [ "$(ps -o ppid= -p {})" -eq 1 ]; then kill {}; fi'