mirror of
https://github.com/tmux/tmux.git
synced 2025-03-13 21:58:48 +00:00
Do not load /etc/tmux.conf if given -f.
This commit is contained in:
parent
06d58b3b7b
commit
f6c54f3f03
1
cfg.c
1
cfg.c
@ -102,6 +102,7 @@ start_cfg(void)
|
|||||||
cmdq_append(c, cfg_item);
|
cmdq_append(c, cfg_item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cfg_file == NULL)
|
||||||
load_cfg(TMUX_CONF, NULL, NULL, 1);
|
load_cfg(TMUX_CONF, NULL, NULL, 1);
|
||||||
|
|
||||||
if (cfg_file == NULL && (home = find_home()) != NULL) {
|
if (cfg_file == NULL && (home = find_home()) != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user