From 45cf5174fef40415ac270a6c64a388a8994dcff9 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 29 Mar 2010 20:10:20 +0200 Subject: 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-)" } --- README | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README') 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. -- cgit 1.4.1-2-gfad0