Fish: Sort fzf-cdhist-widget by most recent at the bottom
parent
ac1bf19fcd
commit
c5f11ca1e9
|
@ -92,7 +92,7 @@ end
|
||||||
bind \e\cL fzf-bcd-widget
|
bind \e\cL fzf-bcd-widget
|
||||||
|
|
||||||
function fzf-cdhist-widget -d 'cd to one of the previously visited location'
|
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
|
[ "$result" ]; and cd $result
|
||||||
commandline -f repaint
|
commandline -f repaint
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue