mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-10 08:54:54 +00:00
8 lines
179 B
Fish
8 lines
179 B
Fish
|
# Defined in /tmp/fish.UJ4EF5/ranger-cd.fish @ line 2
|
||
|
function ranger-cd
|
||
|
set tempfile (mktemp -t tmp.XXXXXX)
|
||
|
ranger --choosedir=$tempfile
|
||
|
cd (cat $tempfile)
|
||
|
rm -f $tempfile
|
||
|
end
|