X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Flxd%2Flxd.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Flxd%2Flxd.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=a6a07425281183bf21037ed9a3a42ca283badbdb;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git 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 index a6a0742..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/lxd/lxd.plugin.zsh +++ /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