From 2803c7e5562be7bca0ef82834df60c71a4228a60 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 25 May 2017 19:27:54 +0200 Subject: [PATCH] Follow fzf-cd-widget options in fzf-cdhist-widget --- Examples-(fish).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples-(fish).md b/Examples-(fish).md index 1cfce73..20b5675 100644 --- a/Examples-(fish).md +++ b/Examples-(fish).md @@ -22,7 +22,7 @@ function fzf-cdhist-widget -d 'cd to one of the previously visited locations' end end set dirprev $buf - string join \n $dirprev | tac | sed 1d | eval (__fzfcmd) +m $FZF_CDHIST_OPTS | read -l result + string join \n $dirprev | tac | sed 1d | eval (__fzfcmd) +m --tiebreak=index --toggle-sort=ctrl-r $FZF_CDHIST_OPTS | read -l result [ "$result" ]; and cd $result commandline -f repaint end