mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-11 16:05:05 +00:00
8 lines
179 B
Fish
Executable file
8 lines
179 B
Fish
Executable file
# 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
|