aerc/config
Robin Jarry c95961fc74 filters: append well known dirs to exec PATH
To allow referencing built-in filters without hard coding a path during
installation, append the following folders to the exec PATH when running
the filter commands:

	~/.config/aerc/filters
	~/.local/share/aerc/filters
	$PREFIX/share/aerc/filters
	/usr/share/aerc/filters

If a filter script has the same name than a command in the default exec
PATH, it will not shadow it. In that edge case, the absolute path to the
filter script must be specified.

Suggested-by: Teo Luppi <me@luppi.uk>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2022-10-16 11:35:20 +02:00
..
accounts.conf Copy sent emails to the Sent folder 2019-05-15 19:41:21 -04:00
aerc.conf filters: append well known dirs to exec PATH 2022-10-16 11:35:20 +02:00
bindings.go bindings: add alt modifier 2022-09-13 22:50:16 +02:00
bindings_test.go bindings: support more modified keys 2021-10-28 16:22:28 +02:00
binds.conf switch: add -n and -p flags for relative switch 2022-09-20 20:55:29 +02:00
config.go filters: append well known dirs to exec PATH 2022-10-16 11:35:20 +02:00
default_styleset fix aerc-stylesets(7) typos 2020-12-13 10:30:56 +01:00
style.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
triggers.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00