Skip to content

Instantly share code, notes, and snippets.

@alpineyahoo
Created December 4, 2024 08:03
Show Gist options
  • Save alpineyahoo/3ac1a4036281923a34988cd2dc07b142 to your computer and use it in GitHub Desktop.
Save alpineyahoo/3ac1a4036281923a34988cd2dc07b142 to your computer and use it in GitHub Desktop.
#!/usr/bin/env zsh
# leave コマンドで設定したタイマーを解除するスクリプト
ps -eo pid,stat,lstart,args |
grep -E '[l]eave' |
fzf --reverse |
awk '{print $1}' |
xargs kill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment