summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ranger.12
1 files changed, 1 insertions, 1 deletions
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-)"
 }
 .\"-----------------------------------------