diff options
author | hut <hut@lavabit.com> | 2010-04-13 12:17:46 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-13 12:38:28 +0200 |
commit | fab4dc542e9f2b0ee55a97046915894c9e5ae37b (patch) | |
tree | 933e825e1e79fa8c38f0494c7a7e521301d81288 | |
parent | 4ce7312000cb2323a9eafd0eb436181cb86762d7 (diff) | |
download | ranger-fab4dc542e9f2b0ee55a97046915894c9e5ae37b.tar.gz |
Fixed suggested cd-after-exit-script for zsh
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | doc/ranger.1 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README index 07837688..429aefa1 100644 --- a/README +++ b/README @@ -130,7 +130,7 @@ Tips Change the directory of your parent shell when you exit ranger: ranger() { - $(which ranger) $@ && + command ranger $@ && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)" } diff --git a/doc/ranger.1 b/doc/ranger.1 index 9e1ab5a0..6adaf43f 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -169,7 +169,7 @@ of your parent shell after exiting ranger: .nf ranger() { - $(which ranger) $@ && + command ranger $@ && cd "$(grep \\^\\' ~/.ranger/bookmarks | cut -b3-)" } .\"----------------------------------------- |