diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 2d5f2da0..23f58173 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -272,7 +272,8 @@ class Actions( # pylint: disable=too-many-instance-attributes,too-many-public-m macros = {} macros['rangerdir'] = ranger.RANGERDIR - macros['confdir'] = self.fm.confpath() + if not ranger.args.clean: + macros['confdir'] = self.fm.confpath() macros['space'] = ' ' if self.fm.thisfile: |