diff options
Diffstat (limited to 'Completion/AIX')
-rw-r--r-- | Completion/AIX/Command/_smit | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/AIX/Command/_smit b/Completion/AIX/Command/_smit index 48397b5b0..f02229501 100644 --- a/Completion/AIX/Command/_smit +++ b/Completion/AIX/Command/_smit @@ -18,10 +18,8 @@ _arguments -C \ '-v[verbose]' \ '-x[do not run any execute commands]' \ '-X[do not run any commands]' \ - '1:fastpath:->fastpath' && return 0 + '1:fast path:->fastpath' -[[ "$state" = fastpath ]] && +[[ "$state" = fastpath ]] && (( $+commands[odmget] )) && _wanted fastpaths expl 'fast path' compadd \ $(odmget sm_cmd_hdr sm_name_hdr|sed -n 's/^ id = \"\(.*\)\"/\1/p') - - |