diff options
author | tdro <tdro@users.noreply.github.com> | 2020-06-04 19:10:07 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-06-04 19:10:07 -0400 |
commit | a553751ff84163fe05e681b0e79868774a4c1ca1 (patch) | |
tree | 9b96775ce0f190fd6bc2c2e9deb45b3e36650201 /.bashrc | |
parent | c62e1c4f520786bd7d4056a57e6f4458e0b8f995 (diff) | |
download | dotfiles-a553751ff84163fe05e681b0e79868774a4c1ca1.tar.gz dotfiles-a553751ff84163fe05e681b0e79868774a4c1ca1.tar.bz2 dotfiles-a553751ff84163fe05e681b0e79868774a4c1ca1.zip |
.bashrc: lxc destroy helper
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |