diff options
Diffstat (limited to 'Completion/Core/_compalso')
-rw-r--r-- | Completion/Core/_compalso | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/Core/_compalso b/Completion/Core/_compalso index 6ff6cf0bf..52fb08f05 100644 --- a/Completion/Core/_compalso +++ b/Completion/Core/_compalso @@ -7,7 +7,9 @@ # `_compalso -math-' to get the completions that would be generated for a # mathematical context. -local tmp +local tmp ret=1 tmp="$_comps[$1]" -[[ -z "$tmp" ]] || "$tmp" +[[ -z "$tmp" ]] || "$tmp" && ret=0 + +return ret |