diff options
author | hut <hut@lavabit.com> | 2010-09-11 21:02:53 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-09-11 21:02:53 +0200 |
commit | 471fc68047418ec7af877598b19696837ed7750c (patch) | |
tree | 793e586a80e94e2b764c59aabfc7ee017806abbe | |
parent | 73e3ab44213174e1f01a06cf51ca9fd53ee35ea6 (diff) | |
download | ranger-471fc68047418ec7af877598b19696837ed7750c.tar.gz |
ranger.py: fixed escape in embedded shellscript
-rwxr-xr-x | ranger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py index cc7f14ed..010ca04b 100755 --- a/ranger.py +++ b/ranger.py @@ -23,7 +23,7 @@ # after you exit ranger by starting it with: source ranger ranger """": if [ $1 ]; then - if [ -z $XDG_CONFIG_HOME ]; then + if [ -z "$XDG_CONFIG_HOME" ]; then $@ --fail-unless-cd && cd "$(grep \^\' ~/.config/ranger/bookmarks | cut -b3-)" else $@ --fail-unless-cd && cd "$(grep \^\' "$XDG_CONFIG_HOME"/ranger/bookmarks | cut -b3-)" |