From 3df9850aa21a39e42ed4e720ad08c98610166a28 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 29 May 2006 03:01:27 +0200 Subject: [PATCH] Use ~/.tigrc for user configuration rather than ~/.tig --- tig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tig.c b/tig.c index 94af086..c7a7842 100644 --- a/tig.c +++ b/tig.c @@ -562,7 +562,7 @@ parse_options(int argc, char *argv[]) /** * FILES * ----- - * '~/.tig':: + * '~/.tigrc':: * User configuration file. See "<>" * section for examples. * @@ -574,7 +574,7 @@ parse_options(int argc, char *argv[]) * [[config-options]] * User Configuration file * ----------------------- - * You can permanently set an option by putting it in the `~/.tig` file. + * You can permanently set an option by putting it in the `~/.tigrc` file. * The file consists of a series of 'commands'. Each * line of the file may contain only one command. * @@ -944,7 +944,7 @@ load_options(void) config_errors = FALSE; if (!home || - snprintf(buf, sizeof(buf), "%s/.tig", home) >= sizeof(buf)) + snprintf(buf, sizeof(buf), "%s/.tigrc", home) >= sizeof(buf)) return ERR; /* It's ok that the file doesn't exist. */ -- 2.11.0