aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-06-04 19:10:07 -0400
committertdro <tdro@users.noreply.github.com>2020-06-04 19:10:07 -0400
commita553751ff84163fe05e681b0e79868774a4c1ca1 (patch)
tree9b96775ce0f190fd6bc2c2e9deb45b3e36650201 /.bashrc
parentc62e1c4f520786bd7d4056a57e6f4458e0b8f995 (diff)
downloaddotfiles-a553751ff84163fe05e681b0e79868774a4c1ca1.tar.gz
dotfiles-a553751ff84163fe05e681b0e79868774a4c1ca1.tar.bz2
dotfiles-a553751ff84163fe05e681b0e79868774a4c1ca1.zip
.bashrc: lxc destroy helper
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
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"