summary refs log tree commit diff stats
path: root/README
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-29 20:10:20 +0200
committerhut <hut@lavabit.com>2010-03-29 20:10:20 +0200
commit45cf5174fef40415ac270a6c64a388a8994dcff9 (patch)
tree7710c43adbe1b57be87d4fa5e717a2efdf33c28f /README
parente71c8103458d9f1ae3cad73ff3d97876ca5a58a8 (diff)
downloadranger-45cf5174fef40415ac270a6c64a388a8994dcff9.tar.gz
removed the cd-after-exit hack
Fear not. You still get the same functionality by using a function like:

ranger() {
    $(which ranger) $@ &&
    cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
}
Diffstat (limited to 'README')
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index ff1e3788..4525d94c 100644
--- a/README
+++ b/README
@@ -122,3 +122,16 @@ information, check out the source code.
 
 Also, see the file HACKING for more detailed instructions on
 modifying the program.
+
+
+Tips
+----
+
+Change the directory of your parent shell when you exit ranger:
+
+ranger() {
+    $(which ranger) $@ &&
+    cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
+}
+
+This can be put into your ~/.bashrc or something similar.