From c5f11ca1e9a996c9bc3c4454f846035bd9a24d27 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Wed, 23 Nov 2016 20:10:52 +0530 Subject: [PATCH] Fish: Sort fzf-cdhist-widget by most recent at the bottom --- .config/fish/fzf.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/fzf.fish b/.config/fish/fzf.fish index 117a6604..1e45f5e5 100644 --- a/.config/fish/fzf.fish +++ b/.config/fish/fzf.fish @@ -92,7 +92,7 @@ end bind \e\cL fzf-bcd-widget function fzf-cdhist-widget -d 'cd to one of the previously visited location' - string join \n $dirprev | eval (__fzfcmd) +m | read -l result + string join \n $dirprev | eval (__fzfcmd) +m --tac | read -l result [ "$result" ]; and cd $result commandline -f repaint end