diff options
Diffstat (limited to 'ranger/core/actions.py')
-rw-r--r-- | ranger/core/actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index f4aec81a..dff3e9b9 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -177,6 +177,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): return macros def source_cmdlist(self, filename, narg=None): + filename = os.path.expanduser(filename) for line in open(filename, 'r'): line = line.rstrip("\r\n") if line.startswith("#") or not line.strip(): |