From 2f36613557a4d33b5706cd9335ff0a4c3b6f1c91 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 9 Sep 1999 14:10:01 +0000 Subject: zsh-workers/7747 --- Completion/Commands/_history_complete_word | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Completion/Commands') diff --git a/Completion/Commands/_history_complete_word b/Completion/Commands/_history_complete_word index b55966062..76cad470f 100644 --- a/Completion/Commands/_history_complete_word +++ b/Completion/Commands/_history_complete_word @@ -2,5 +2,9 @@ local expl -_description expl 'history word' +if [[ -n "$compconfig[history_sort]" ]]; then + _description expl 'history word' +else + _description -V expl 'history word' +fi compgen "$expl[@]" -Q -H 0 '' -- cgit 1.4.1