From c1f2a152d0ed514bb44ee61dd0c2c52da57cd7ee Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 3 Oct 2011 05:30:13 +0200 Subject: core.actions: added %rangerdir macro --- ranger/core/actions.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit 1.4.1-2-gfad0 od='get'> Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/archive/2.transect/compiler2
blob: 5c06cc4f7b6569e7d93f1cef52fa06718fa433f3 (plain) (tree)