diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-01-15 09:11:31 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-01-15 09:11:31 +0000 |
commit | ca585f812b02071cc261fb9dbe463bab6f8be602 (patch) | |
tree | e90c1af1169132098b62207ced35fdf83607e910 /Completion/Bsd | |
parent | a11115ecee1b5fc02b4b714561ffdbc2d2a3e622 (diff) | |
download | zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.gz zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.tar.xz zsh-ca585f812b02071cc261fb9dbe463bab6f8be602.zip |
add `services', allowing easier re-use of (parts of) completion functions (13346)
Diffstat (limited to 'Completion/Bsd')
-rw-r--r-- | Completion/Bsd/_bsd_pkg | 2 | ||||
-rw-r--r-- | Completion/Bsd/_kld | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Bsd/_bsd_pkg b/Completion/Bsd/_bsd_pkg index f302f8216..5089bc1a3 100644 --- a/Completion/Bsd/_bsd_pkg +++ b/Completion/Bsd/_bsd_pkg @@ -13,7 +13,7 @@ _bsd_pkg_packages() { } _bsd_pkg() { - case "${words[1]:t}" in + case "$service" in pkg_add) _arguments -s \ '-v[be verbose]' \ diff --git a/Completion/Bsd/_kld b/Completion/Bsd/_kld index 8fc719ccb..eefc8bf61 100644 --- a/Completion/Bsd/_kld +++ b/Completion/Bsd/_kld @@ -21,7 +21,7 @@ _kld_unload_id() { } _kld() { - case "${words[1]:t}" in + case "$service" in kldload) _arguments -s \ '-v[be verbose]' \ |