summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-04-24 10:01:32 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-04-24 10:01:32 +0000
commite323101edede281b65e3c7141d79afdb2501a8ea (patch)
tree2a187fa8243af48d4b7195caa798be19da318a38 /tmux.c
parent3d2b7d5bce9532cedd647ace319afbf95ebe0e20 (diff)
Rename global configuration define.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index e9b28d7e..b229967d 100644
--- a/tmux.c
+++ b/tmux.c
@@ -357,7 +357,7 @@ main(int argc, char **argv)
if (pw != NULL)
home = pw->pw_dir;
}
- xasprintf(&cfg_file, "%s/%s", home, DEFAULT_CFG);
+ xasprintf(&cfg_file, "%s/.tmux.conf", home);
if (access(cfg_file, R_OK) != 0 && errno == ENOENT) {
free(cfg_file);
cfg_file = NULL;