From a553751ff84163fe05e681b0e79868774a4c1ca1 Mon Sep 17 00:00:00 2001 From: tdro Date: Thu, 4 Jun 2020 19:10:07 -0400 Subject: .bashrc: lxc destroy helper --- .bashrc | 1 + 1 file changed, 1 insertion(+) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 1a61721..ee085e4 100644 --- a/.bashrc +++ b/.bashrc @@ -106,6 +106,7 @@ lxc-copy() { $(type -P lxc-copy) -n "$1" -N "$2"; } lxc-restart() { $(type -P lxc-stop) -n "$1"; $(type -P lxc-start) -n "$1"; } lxc-start() { for container in "$@"; do $(type -P lxc-start) -n "$container"; done } lxc-stop() { for container in "$@"; do $(type -P lxc-stop) -kn "$container"; done } +lxc-destroy() { for container in "$@"; do $(type -P lxc-destroy) -n "$container"; done } # source fzm [ -f "$HOME/.config/fzf-marks/fzf-marks.plugin.bash" ] && . "$HOME/.config/fzf-marks/fzf-marks.plugin.bash" -- cgit v1.2.3