]> src.twobees.de Git - dotfiles.git/blobdiff - stow/oh-my-zsh/.oh-my-zsh/plugins/lxd/lxd.plugin.zsh
rm oh-my-zsh
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / lxd / lxd.plugin.zsh
diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/lxd/lxd.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/lxd/lxd.plugin.zsh
deleted file mode 100644 (file)
index a6a0742..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-_lxc_get_command_list () {
-    $_comp_command1 | sed "1,/Available Commands/d" | awk '/^[ \t]*[a-z]+/ { print $1 }'
-}
-
-_lxc_get_subcommand_list () {
-    $_comp_command1 ${words[2]} | sed "1,/Available Commands/d" | awk '/^[ \t]*[a-z]+/ { print $1 }'
-}
-
-_lxc () {
-  local curcontext="$curcontext" state line
-  typeset -A opt_args
-  _arguments \
-    '1: :->command'\
-    '*: :->args'
-
-  case $state in
-    command)
-      compadd $(_lxc_get_command_list)
-      ;;
-    *)
-        compadd $(_lxc_get_subcommand_list)
-      ;;
-  esac
-}
-
-compdef _lxc lxc