about summary refs log tree commit diff
path: root/Completion/Commands
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-09 14:10:01 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-09 14:10:01 +0000
commit2f36613557a4d33b5706cd9335ff0a4c3b6f1c91 (patch)
tree6bfbe3da09b06fff2864b8798fe2bac09c1526b9 /Completion/Commands
parent415b5f4cc2ef54943d178bef0c55b2517afc6904 (diff)
downloadzsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.gz
zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.xz
zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.zip
zsh-workers/7747
Diffstat (limited to 'Completion/Commands')
-rw-r--r--Completion/Commands/_history_complete_word6
1 files changed, 5 insertions, 1 deletions
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 ''