[neomutt-users] dereference SYSCONFDIR in neomuttrc?
Richard Russon
rich at flatcap.org
Thu Jun 29 11:51:54 CEST 2023
Hi Ulli,
> > source "$SYSCONFDIR/x.rc"
> Are the "" mandatory?
No, as long as there aren't any whitespace chars in the path.
> macro index,pager \CXvx ":source $SYSCONFDIR/xterm.rc\n"
> macro index,pager \CXvc ":source $SYSCONFDIR/console.rc\n"
> This works for me.
Great
> > If NeoMutt can't find a matching *config* variable,
> > it will try to find a matching *environment* variable.
> Good to know! Is this documented?
Sort of:
https://neomutt.org/guide/configuration.html#neomuttrc-syntax
Both environment variables and NeoMutt variables can be accessed by
prepending `$` to the name of the variable.
Improvements welcome.
Cheers,
FlatCap / Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-users-neomutt.org/attachments/20230629/dba60e0e/attachment.sig>
More information about the neomutt-users
mailing list