[neomutt-users] conditional source command?
Ulli Horlacher
framstag at rus.uni-stuttgart.de
Fri Jun 23 23:46:34 CEST 2023
On Fri 2023-06-23 (16:00), Jakub Jindra wrote:
> how about utilize only ls? It seems source command accepts multiple
> files.
>
> source `ls /usr/local/etc/Muttrc /dev/null 2>/dev/null`
Ok, this is a little bit better than my:
source `test -f /usr/local/etc/Muttrc && echo /usr/local/etc/Muttrc || echo /dev/null`
but I was hoping for an if ... then ... else ... expression in neomuttrc,
perhaps with lua?
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher at tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: https://www.tik.uni-stuttgart.de/
REF:<f32le3lqzy4p6voqqmvhbnrdbsxggof6sqm2uwmip2pngqthyg at rern7gpwtgqf>
More information about the neomutt-users
mailing list