From 9fd7cbf751de1f3faec8b689132d4401efe02547 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 29 Sep 1999 22:56:23 +0000 Subject: zsh-workers/8098 --- Completion/Commands/_history_complete_word | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'Completion/Commands') diff --git a/Completion/Commands/_history_complete_word b/Completion/Commands/_history_complete_word index 8c531a12b..ecd2471e5 100644 --- a/Completion/Commands/_history_complete_word +++ b/Completion/Commands/_history_complete_word @@ -1,4 +1,4 @@ -#compdef -k complete-word \e/ \e, +#compdef -K _history-complete-older complete-word \e/ _history-complete-newer complete-word \e, # # Complete words from the history # @@ -19,19 +19,11 @@ _history_complete_word () { local expl direction - case "$KEYS" in - ',') direction='newer' - ;; - '/') direction='older' - ;; - *) print <