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