X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2b76520e8c1722782deb248b43c3fbcb15c47efc..148295024c93e47f90ac850bf068e592b16b1c7c:/zsh/lib/ranger.zsh?ds=inline diff --git a/zsh/lib/ranger.zsh b/zsh/lib/ranger.zsh index 1fab1ae..64a94e6 100644 --- a/zsh/lib/ranger.zsh +++ b/zsh/lib/ranger.zsh @@ -8,6 +8,7 @@ function ranger { /usr/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" test -f "$tempfile" && if [ "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then + echo "$(cat "$tempfile")" cd -- "$(cat "$tempfile")" fi rm -f -- "$tempfile"