1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-06-10 18:22:22 +00:00

Update completions.

This commit is contained in:
William Melody 2020-04-13 15:01:13 -07:00
parent b9a257f5d5
commit b7394fe2d5
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#compdef hosts
__hosts_subcommands() { __hosts_subcommands() {
local _commands local _commands
_commands=($(hosts commands --raw)) _commands=($(hosts commands --raw))
@ -21,4 +23,4 @@ __hosts_subcommands() {
fi fi
} }
compdef __hosts_subcommands hosts __hosts_subcommands "$@"