1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-24 13:47:35 +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() {
local _commands
_commands=($(hosts commands --raw))
@ -21,4 +23,4 @@ __hosts_subcommands() {
fi
}
compdef __hosts_subcommands hosts
__hosts_subcommands "$@"