diff --git a/fish/config/config.fish b/fish/config/config.fish index 5412781..7162021 100644 --- a/fish/config/config.fish +++ b/fish/config/config.fish @@ -77,7 +77,7 @@ if status is-interactive end end - function ranger + function r --description='sync ranger pwd to shell when exit' set tempfile (mktemp -t tmp.XXXXXX) command ranger --choosedir=$tempfile $argv if test -s $tempfile