mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-10 00:45:32 +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
|