about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Commands/_history_complete_word4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Commands/_history_complete_word b/Completion/Commands/_history_complete_word
index c5438148d..08fc1ea79 100644
--- a/Completion/Commands/_history_complete_word
+++ b/Completion/Commands/_history_complete_word
@@ -20,9 +20,9 @@ _history_complete_word () {
   local expl direction stop
 
   if [[ $WIDGET = *newer ]]; then
-    direction=older
-  else
     direction=newer
+  else
+    direction=older
   fi
 
   _style -s history-words stop stop