diff options
Diffstat (limited to 'bash-completion/addons')
-rw-r--r-- | bash-completion/addons/svcadm (renamed from bash-completion/addons/smf) | 9 | ||||
-rw-r--r-- | bash-completion/addons/zfs (renamed from bash-completion/addons/zfsutils) | 0 |
2 files changed, 5 insertions, 4 deletions
diff --git a/bash-completion/addons/smf b/bash-completion/addons/svcadm index 57ce673..e2a7c35 100644 --- a/bash-completion/addons/smf +++ b/bash-completion/addons/svcadm @@ -1,6 +1,7 @@ # svcadm completion -*- shell-script -*- # # Copyright 2006 Yann Rouillard <yann@opencsw.org> +# Portions copyright 2013, Nexenta Systems, Inc. # # svcadm accept any complete FMRI or abreviated FMRI @@ -137,9 +138,7 @@ _svcadm () fi fi fi -} && -complete -F _svcadm svcadm - +} _svcs () { local cur prev opts line @@ -167,7 +166,9 @@ _svcs () { _smf_complete_fmri "${cur}" "svc:" fi -} && +} + +complete -F _svcadm svcadm complete -F _svcs svcs diff --git a/bash-completion/addons/zfsutils b/bash-completion/addons/zfs index f59d73a..f59d73a 100644 --- a/bash-completion/addons/zfsutils +++ b/bash-completion/addons/zfs |