diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-09 14:10:01 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-09 14:10:01 +0000 |
| commit | 2f36613557a4d33b5706cd9335ff0a4c3b6f1c91 (patch) | |
| tree | 6bfbe3da09b06fff2864b8798fe2bac09c1526b9 /Completion/Commands | |
| parent | zsh-workers/7744 (diff) | |
| download | zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.gz zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.bz2 zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.lz zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.xz zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.tar.zst zsh-2f36613557a4d33b5706cd9335ff0a4c3b6f1c91.zip | |
zsh-workers/7747
Diffstat (limited to 'Completion/Commands')
| -rw-r--r-- | Completion/Commands/_history_complete_word | 6 |
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 '' |
