summaryrefslogtreecommitdiff
path: root/shell-completion/zsh/_bootctl
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-08 08:12:20 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-08 08:30:28 +0200
commit4e46791a9f00ca29537a3ee554841dfa1488ad79 (patch)
tree52b3c0dc0c66d414acc87903dc37a093e4a1ec91 /shell-completion/zsh/_bootctl
parent313733493e610bb3b027796a1595e353e6c6f3d7 (diff)
remove shell completion
Diffstat (limited to 'shell-completion/zsh/_bootctl')
-rw-r--r--shell-completion/zsh/_bootctl25
1 files changed, 0 insertions, 25 deletions
diff --git a/shell-completion/zsh/_bootctl b/shell-completion/zsh/_bootctl
deleted file mode 100644
index 7d2453cc2c..0000000000
--- a/shell-completion/zsh/_bootctl
+++ /dev/null
@@ -1,25 +0,0 @@
-#compdef bootctl
-
-(( $+functions[_bootctl_command] )) || _bootctl_command()
-{
- local -a _bootctl_cmds
- _bootctl_cmds=(
- "status:Show current firmware and boot settings"
- )
- if (( CURRENT == 1 )); then
- _describe -t commands 'bootctl command' _bootctl_cmds || compadd "$@"
- else
- local curcontext="$curcontext"
- cmd="${${_bootctl_cmds[(r)$words[1]:*]%%:*}}"
- if (( $+functions[_bootctl_$cmd] )); then
- _bootctl_$cmd
- else
- _message "no more options"
- fi
- fi
-}
-
-_arguments \
- {-h,--help}'[Prints a short help text and exits.]' \
- '--version[Prints a short version string and exits.]' \
- '*::bootctl command:_bootctl_command'