[neomutt-users] dereference SYSCONFDIR in neomuttrc?

Ulli Horlacher framstag at rus.uni-stuttgart.de
Thu Jun 29 09:52:18 CEST 2023


On Thu 2023-06-29 (00:43), Richard Russon wrote:
> > setenv `neomutt -v | perl -ne 's/(SYSCONFDIR)="(.+)"/$1 $2/ and print'`
> 
> OK, then you're ready...
> 
>   source "$SYSCONFDIR/x.rc"

Are the "" mandatory?

So far I have:

macro index,pager       \CXvx   ":source $SYSCONFDIR/xterm.rc\n"
macro index,pager       \CXvc   ":source $SYSCONFDIR/console.rc\n"

This works for me.

[Control]X v c switches to text console colour scheme (white on black).
[Control]X v x switches to xterm colour scheme (black on white).



> If NeoMutt can't find a matching *config* variable,
> it will try to find a matching *environment* variable.

Good to know! Is this documented?

-- 
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:<jokmkrgjrdbqpf2unc4yugxvpb5nzrltgsrel7mheaaojxymxn at ae6bwkbxjmof>


More information about the neomutt-users mailing list