summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2016-03-21 22:45:12 +0100
committerCiro Santilli <ciro.santilli@gmail.com>2016-03-21 22:45:12 +0100
commit000504ab8fdc8a61322bd2a4e2523d366ed19802 (patch)
tree81ff4d7ee3b63f7312d43b68513d46996ff260c8 /ranger
parent09c30cdf4b9050d548e12b5108581680357ac5f1 (diff)
downloadranger-000504ab8fdc8a61322bd2a4e2523d366ed19802.tar.gz
Add %confdir macro
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/actions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 89924dc0..a22b9cd8 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -245,6 +245,7 @@ class Actions(FileManagerAware, SettingsAware):
         macros = {}
 
         macros['rangerdir'] = ranger.RANGERDIR
+        macros['confdir'] = self.fm.confpath()
         macros['space'] = ' '
 
         if self.fm.thisfile: