diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-03 22:04:09 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-03 22:04:09 +0100 |
commit | a696bd7c85299cfd538d2f8b8442cb2ba234d3fa (patch) | |
tree | d9af95b57fc4258bfdcce5832ba77fb5d5de5fcc /alot/command.py | |
parent | d59b3a2ac9e9d4e41132e5c35a4946b5d662386a (diff) |
added path completer for edit and attach cmds
Diffstat (limited to 'alot/command.py')
-rw-r--r-- | alot/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py index 9882d1fc..ea61ecde 100644 --- a/alot/command.py +++ b/alot/command.py @@ -876,7 +876,7 @@ def interpret_commandline(cmdline, mode): elif cmd == 'toggletag': return commandfactory(cmd, tag=params) elif cmd == 'edit': - filepath = params[0] + filepath = os.path.expanduser(params) if os.path.isfile(filepath): return commandfactory(cmd, path=filepath) else: |