From 9867c4091e71e6ed69889a9bfaee07275d2fa04e Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 19 Aug 1999 11:18:05 +0000 Subject: manual/7448 --- Completion/Builtins/_fc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Completion/Builtins/_fc') diff --git a/Completion/Builtins/_fc b/Completion/Builtins/_fc index 5b493dc3b..8d5c82763 100644 --- a/Completion/Builtins/_fc +++ b/Completion/Builtins/_fc @@ -1,9 +1,10 @@ #compdef fc -local prev="$words[CURRENT-1]" +local prev="$words[CURRENT-1]" expl if [[ "$prev" = -*e ]]; then - compgen -c + _description expl command + compgen "$expl[@]" -c elif [[ "$prev" = -[ARWI]## ]]; then _files fi -- cgit 1.4.1