diff options
-rwxr-xr-x | ranger.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger.py b/ranger.py index 010ca04b..5652ba69 100755 --- a/ranger.py +++ b/ranger.py @@ -24,9 +24,9 @@ """": if [ $1 ]; then if [ -z "$XDG_CONFIG_HOME" ]; then - $@ --fail-unless-cd && cd "$(grep \^\' ~/.config/ranger/bookmarks | cut -b3-)" + "$@" --fail-unless-cd && cd "$(grep \^\' ~/.config/ranger/bookmarks | cut -b3-)" else - $@ --fail-unless-cd && cd "$(grep \^\' "$XDG_CONFIG_HOME"/ranger/bookmarks | cut -b3-)" + "$@" --fail-unless-cd && cd "$(grep \^\' "$XDG_CONFIG_HOME"/ranger/bookmarks | cut -b3-)" fi else echo "usage: source path/to/ranger.py path/to/ranger.py" |