From fab4dc542e9f2b0ee55a97046915894c9e5ae37b Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 13 Apr 2010 12:17:46 +0200 Subject: Fixed suggested cd-after-exit-script for zsh --- doc/ranger.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/ranger.1') 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-)" } .\"----------------------------------------- -- cgit 1.4.1-2-gfad0