diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-12-20 09:59:13 +0100 |
---|---|---|
committer | Moritz Poldrack <git@moritz.sh> | 2022-12-20 10:51:47 +0100 |
commit | 466888da4776ec9e67d9765e2465e295e4d74060 (patch) | |
tree | fba8d66f8a44a9cc1fac9b664a116d199836246b /lib/parse/ansi.go | |
parent | 060fbb04a436ce4ec0937384e177aa16524332a2 (diff) | |
download | aerc-466888da4776ec9e67d9765e2465e295e4d74060.tar.gz |
attach: don't glob hidden files
Most of the time it is not wanted to attach hidden files, but by default
globbing does include hidden files.
Add a small check that removes hidden files from the results if they are
not explicitly globbed for or inside a hidden directory.
Implements: https://todo.sr.ht/~rjarry/aerc/83
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib/parse/ansi.go')
0 files changed, 0 insertions, 0 deletions