X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/228231d085a4d3c63e129bfd4a5af778c45a99ac..b0e62eea737615803f00df922122d9f5b1c78139:/zsh/lib/ranger.zsh 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"