summaryrefslogtreecommitdiff
path: root/Completion/Core/_expand
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core/_expand')
-rw-r--r--Completion/Core/_expand6
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand
index 293ad3649..47253a094 100644
--- a/Completion/Core/_expand
+++ b/Completion/Core/_expand
@@ -94,10 +94,8 @@ if [[ -z "$compstate[insert]" ]] ;then
else
_tags all-expansions expansions original
- if _requested all-expansions; then
- _description all-expansions expl 'all expansions'
- compadd "$expl[@]" -UQ -qS "$suf" - "$exp"
- fi
+ _requested all-expansions expl 'all expansions' &&
+ compadd "$expl[@]" -UQ -qS "$suf" - "$exp"
if [[ $#exp -gt 1 ]] && _requested expansions; then
local i normal dir