aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-01-28 02:08:27 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-29 22:46:08 +0100
commit50705608bb39108ab7b6627c6a4146e66a2facf5 (patch)
tree4ce960217802175b5976e756e3d623f26af60fc4 /doc
parent5719041eb9b846c7d056952e9e14295c65a8b81a (diff)
downloadaerc-50705608bb39108ab7b6627c6a4146e66a2facf5.tar.gz
aerc-50705608bb39108ab7b6627c6a4146e66a2facf5.zip
menu: use listbox as fallback command
Implement the listbox widget as fallback picker when no command to :menu was specified or the command cannot be found in PATH. The listbox will also be used with "-" as the shell command: :menu -c "-" -d :cf Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc.1.scd4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index ca46a9ea..74cb0dd3 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -192,6 +192,10 @@ These commands work in any context.
used in a shell. A colon (*:*) prefix is supported for _<aerc-cmd ...>_
but is not required.
+ *:menu* can be used without an external program by setting _<shell-cmd>_
+ to _-_. This also acts as a fallback in case where no _<shell-cmd>_ was
+ specified at all or the executable in the _<shell-cmd>_ was not found.
+
*-c* _"<shell-cmd>"_
Override *[general].default-menu-cmd*. See *aerc-config*(5) for
more details.