summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index ffcf0dc7..6a8e69e4 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -120,6 +120,8 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
 	def _get_macros(self):
 		macros = {}
 
+		macros['rangerdir'] = shell_quote(ranger.RANGERDIR)
+
 		if self.fm.env.cf:
 			macros['f'] = shell_quote(self.fm.env.cf.basename)
 		else:
href='#n7'>7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28