summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-26 13:32:40 +0200
committerhut <hut@lavabit.com>2010-04-26 20:57:40 +0200
commit83868c7aa8ca35d9d0c1606dd62b44e97bd7e356 (patch)
tree60ba5092dfa274632f5c6da3d45b758bcb6386ce /ranger.py
parentf3bc52e556867d00fa1ba51f9dc93a2cde75b15b (diff)
downloadranger-83868c7aa8ca35d9d0c1606dd62b44e97bd7e356.tar.gz
Fixed bug #65 by adding flag "--fail-if-run"
Diffstat (limited to 'ranger.py')
-rwxr-xr-xranger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py
index 06b86531..754f0a8f 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
-	$@ && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
+	$@ --fail-if-run && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
 else
 	echo "usage: source path/to/ranger.py path/to/ranger.py"
 fi