From 63a9639d62c208f78d9e5c8740f10cce74a4e967 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 11 Sep 2010 23:47:35 +0200 Subject: ranger.py Fixed embedded shellscript (quotes for bash) --- ranger.py | 4 ++-- 1 file 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" -- cgit 1.4.1-2-gfad0