diff options
author | hut <hut@lavabit.com> | 2010-03-29 20:10:20 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-29 20:10:20 +0200 |
commit | 45cf5174fef40415ac270a6c64a388a8994dcff9 (patch) | |
tree | 7710c43adbe1b57be87d4fa5e717a2efdf33c28f /README | |
parent | e71c8103458d9f1ae3cad73ff3d97876ca5a58a8 (diff) | |
download | ranger-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-- | README | 13 |
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. |