Fish: Sort fzf-cdhist-widget by most recent at the bottom

master
Pierre Neidhardt 2016-11-23 20:10:52 +05:30
parent ac1bf19fcd
commit c5f11ca1e9
1 changed files with 1 additions and 1 deletions

View File

@ -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