aerc/widgets
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
..
account-wizard.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
account.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
aerc.go mailto: allow attaching of files 2022-10-12 22:16:45 +02:00
authinfo.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
compose.go compose: don't lock call to composer.grid.MouseEvent 2022-10-12 22:16:48 +02:00
dialog.go widgets: add dialog interface 2022-08-22 09:30:37 +02:00
dirlist.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
dirtree.go dirtree: fix build errors 2022-08-22 09:57:23 +02:00
exline.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
getpasswd.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
listbox.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
msglist.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
msgviewer.go filters: append well known dirs to exec PATH 2022-10-16 11:35:20 +02:00
pgpinfo.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
providesmessage.go msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
scrollable.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
selector.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
spinner.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
status.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go invalidatable: cleanup dead code 2022-10-12 22:16:40 +02:00