summary refs log tree commit diff stats
path: root/commands/next-tab.go
diff options
context:
space:
mode:
authorClayton Craft <clayton@craftyguy.net>2019-06-11 11:26:13 -0700
committerDrew DeVault <sir@cmpwn.com>2019-06-14 09:48:20 -0400
commite56ceb099e23cf170750758c67f00713bff1cce1 (patch)
treebe1704aa3d6034e63a7bc28c7e2ec7748925e405 /commands/next-tab.go
parent61206c6ac6fdc3fc884626a5b1076354f8311c33 (diff)
downloadaerc-e56ceb099e23cf170750758c67f00713bff1cce1.tar.gz
Support directories in path to :save
This adds new functionality to :save in the message view for specifying
directories in the path. A new flag, -p, is also added to :save for
automatically creating any directories in the path that do not exist.

If the path ends in a / (e.g. "Downloads/mail/") or if the path is an
existing directory, the part's file name is the filename from the mail
header for the part. Otherwise, it uses the last element in the path as
the filename (e.g. 'blah.jpg' is the filename if the path is
'Downloads/mail/blah.jpg')
Diffstat (limited to 'commands/next-tab.go')
0 files changed, 0 insertions, 0 deletions