diff options
Diffstat (limited to 'src/completion')
-rw-r--r-- | src/completion/pass.fish-completion | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/completion/pass.fish-completion b/src/completion/pass.fish-completion index 1edc3fa..b7c3c8c 100644 --- a/src/completion/pass.fish-completion +++ b/src/completion/pass.fish-completion @@ -14,11 +14,7 @@ function __fish_pass_get_prefix end function __fish_pass_needs_command - set -l cmd (commandline -opc) - if [ (count $cmd) -eq 1 -a $cmd[1] = $PROG ] - return 0 - end - return 1 + [ (count (commandline -opc)) -eq 1 ] end function __fish_pass_uses_command |