You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240203-110809-5046fc22
Ask your question!
I'm using macos and use XDG_*_HOME envs for trying to keep all my configs and data safe and clean.
For a long time, i used XDG_CONFIG_HOME with it's well-known default value ~/.config and everything works just fine, cause wezterm's config placed in ~/.config/wezterm/wezterm.lua.
But it doesn't work - wezterm starts with default configs, ignoring new config location.
Interesting, that in opened wezterm (with default configs one), if i'd start another instance via cli (without extra flag nor WEZTERM_CONFIG_FILE env), new instance will find it's own config in XDG_CONFIG_HOME/wezterm/wezterm.lua. (i know that it's because macos starts apps without login into shell, so it doesn't know about envs in user-space)
So here is the question - if wezterm is able to hot reload configuration on file change, why it can't check all declared configs path during startup including user login into shell or check them after startup?
Am i missing something in docs or does it really look like there is no way to move wezterm.lua anywhere except ~/.config/wezterm/wezterm.lua or ~/.wezterm.lua for macos?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What Operating System(s) are you running on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240203-110809-5046fc22
Ask your question!
I'm using macos and use
XDG_*_HOME
envs for trying to keep all my configs and data safe and clean.For a long time, i used
XDG_CONFIG_HOME
with it's well-known default value~/.config
and everything works just fine, cause wezterm's config placed in~/.config/wezterm/wezterm.lua
.And recently i've tried to move my
XDG_CONFIG_HOME
into different place and according this (https://wezfurlong.org/wezterm/config/files.html#configuration-files) scheme, wezterm should load configs like nothing happened.But it doesn't work - wezterm starts with default configs, ignoring new config location.
Interesting, that in opened wezterm (with default configs one), if i'd start another instance via cli (without extra flag nor
WEZTERM_CONFIG_FILE
env), new instance will find it's own config inXDG_CONFIG_HOME/wezterm/wezterm.lua
. (i know that it's because macos starts apps without login into shell, so it doesn't know about envs in user-space)So here is the question - if wezterm is able to hot reload configuration on file change, why it can't check all declared configs path during startup including user login into shell or check them after startup?
Am i missing something in docs or does it really look like there is no way to move
wezterm.lua
anywhere except~/.config/wezterm/wezterm.lua
or~/.wezterm.lua
for macos?Beta Was this translation helpful? Give feedback.
All reactions