diff options
-rw-r--r-- | ranger/core/actions.py | 2 |
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: |