[misc] rename ranger function to r
This commit is contained in:
parent
1555667aa0
commit
fad8d67708
|
@ -77,7 +77,7 @@ if status is-interactive
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function ranger
|
function r --description='sync ranger pwd to shell when exit'
|
||||||
set tempfile (mktemp -t tmp.XXXXXX)
|
set tempfile (mktemp -t tmp.XXXXXX)
|
||||||
command ranger --choosedir=$tempfile $argv
|
command ranger --choosedir=$tempfile $argv
|
||||||
if test -s $tempfile
|
if test -s $tempfile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user