summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2015-09-02 11:49:49 +0200
committerhut <hut@lepus.uberspace.de>2015-09-02 11:49:49 +0200
commit6228b15906aa4ed253d6c52db565bfa10321a233 (patch)
treec08746b5c87b59d502f31727be7fd3e25da4a608
parentdfc0c61ad371d73a7fce842f8196fb2cef081f1d (diff)
downloadranger-6228b15906aa4ed253d6c52db565bfa10321a233.tar.gz
rc.conf: fix escaping macros in yp/yn/yd
-rw-r--r--ranger/config/rc.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index bb9af151..b2965cdc 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -330,9 +330,9 @@ map g? cd /usr/share/doc/ranger
 map E  edit
 map du shell -p du --max-depth=1 -h --apparent-size
 map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh
-map yp shell -f echo -n %d/%f | xsel -i; xsel -o | xsel -i -b
-map yd shell -f echo -n %d    | xsel -i; xsel -o | xsel -i -b
-map yn shell -f echo -n %f    | xsel -i; xsel -o | xsel -i -b
+map yp shell -f echo -n %%d/%%f | xsel -i; xsel -o | xsel -i -b
+map yd shell -f echo -n %%d     | xsel -i; xsel -o | xsel -i -b
+map yn shell -f echo -n %%f     | xsel -i; xsel -o | xsel -i -b
 
 # Filesystem Operations
 map =  chmod