From c73d1651658f734250229494a23b8cf0faaa793d Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 15 Dec 2006 04:23:13 +1000 Subject: [PATCH] Make the directory history keyboard shortcuts repaint the screen. Otherwise, the prompt won't reflect the new CWD. This is needed because of the reduced amounts of repainting done since 1.22.2 darcs-hash:20061214182313-ac50b-a912bcc0fac6e1d78f116e19f31f1c50ffc409cb.gz --- share/functions/nextd-or-forward-word.fish | 1 + share/functions/prevd-or-backward-word.fish | 1 + 2 files changed, 2 insertions(+) diff --git a/share/functions/nextd-or-forward-word.fish b/share/functions/nextd-or-forward-word.fish index ca4996035..5d9ea2abe 100644 --- a/share/functions/nextd-or-forward-word.fish +++ b/share/functions/nextd-or-forward-word.fish @@ -2,6 +2,7 @@ function nextd-or-forward-word if test -z (commandline) nextd + commandline -f repaint else commandline -f forward-word end diff --git a/share/functions/prevd-or-backward-word.fish b/share/functions/prevd-or-backward-word.fish index 5f22c266e..5ecaac46f 100644 --- a/share/functions/prevd-or-backward-word.fish +++ b/share/functions/prevd-or-backward-word.fish @@ -1,6 +1,7 @@ function prevd-or-backward-word if test -z (commandline) prevd + commandline -f repaint else commandline -f backward-word end