On Mon, Jan 12, 2026 at 07:47:41PM +0100, Arnt Gulbrandsen wrote: > https://gitlab.com/muttmua/mutt/-/issues/459 says: > > "source ./file is resolved to the current working directory. While that may > be consistent in interactive use, it is unexpected/unpractical in > configuration files. If, for the sake of consistency with interactive use, > this can't be changed, perhaps we could get a variable $cwd which is set > within configuration files to their respective path, which would allow for > source $cwd/file." > > Comments? > > Arnt
The fine manual talks about something similar in 29.3. User-Defined Variables in Example 3.17. Using user-defined variables for config file readability: set my_cfgdir = $HOME/mutt/config source $my_cfgdir/hooks source $my_cfgdir/macros # more source commands... Before adding something new it would be interesting why this is not sufficient.
