diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -466,6 +466,12 @@ __chrootalias() { } chkill() { + if [[ $1 = all ]]; then + for chrootdir in "$__CHROOTS/"*(/); do + chkill "$(basename "$chrootdir")" + done + return + fi __chrootalias $1 || return for dir in "$__CHROOTS/$chroot/"*(/); do sudo btrfs subvolume delete $dir |