Am 12.01.26 um 19:47 schrieb Arnt Gulbrandsen:
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?


How is $cwd not the same as "."? I would be pretty astonished if either of $cwd, $pwd, $cd were any different than "absolute of ." in practice.

If the intention is "relative to the configuration file's path", maybe we can add such a feature but with a clearer name?

Also, what implications would that have with local (somewhere in $home or maybe a project share) vs. global files (/etc/ or similar)?


Reply via email to