summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-09 13:11:06 +0200
committerhut <hut@lavabit.com>2010-06-09 13:11:06 +0200
commitaefd8048d2b246c0111ac1227ade2a9a9d38c35c (patch)
tree89e4b939878df48375def317c2225ba6cf917efd /ranger.py
parent57deeb86a73e527e7de3881cd5aa1488629695cf (diff)
downloadranger-aefd8048d2b246c0111ac1227ade2a9a9d38c35c.tar.gz
renamed "--fail-if-run" to the more accurate "--fail-unless-cd"
The old name, --fail-if-run, is still valid and working.
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 aca1b557..ccc9f0d6 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
-	$@ --fail-if-run && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
+	$@ --fail-unless-cd && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
 else
 	echo "usage: source path/to/ranger.py path/to/ranger.py"
 fi