[GH-ISSUE #64] Tilde as home dir doesn't work in attachments input #60

Closed
opened 2026-03-03 01:19:28 +03:00 by kerem · 1 comment
Owner

Originally created by @sc0ttj on GitHub (Jan 8, 2021).
Original GitHub issue: https://github.com/d99kris/nmail/issues/64

Originally assigned to: @d99kris on GitHub.

Using a tilde as home dir doesn't work in attachments input, but writing the full path does.

So ~/path/to/file attaches an empty file.

NOTE, I haven't tried using $HOME/foo so I don't know if that works or not.

Originally created by @sc0ttj on GitHub (Jan 8, 2021). Original GitHub issue: https://github.com/d99kris/nmail/issues/64 Originally assigned to: @d99kris on GitHub. Using a tilde as home dir doesn't work in attachments input, but writing the full path does. So `~/path/to/file` attaches an empty file. NOTE, I haven't tried using `$HOME/foo` so I don't know if that works or not.
kerem closed this issue 2026-03-03 01:19:28 +03:00
Author
Owner

@d99kris commented on GitHub (Jan 10, 2021):

Thanks for reporting. Support for shell path expansion of ~ as well as env variables like ${HOME} has been added now.

<!-- gh-comment-id:757415323 --> @d99kris commented on GitHub (Jan 10, 2021): Thanks for reporting. Support for shell path expansion of `~` as well as env variables like `${HOME}` has been added now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#60
No description provided.