git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Configuring the location of ~/.gitconfig
@ 2012-09-26 14:14 Ramkumar Ramachandra
  2012-09-26 18:34 ` David Aguilar
  2012-09-27  6:09 ` Configuring the location of ~/.gitconfig Junio C Hamano
  0 siblings, 2 replies; 14+ messages in thread
From: Ramkumar Ramachandra @ 2012-09-26 14:14 UTC (permalink / raw)
  To: Git List; +Cc: Anurag Priyam

Hi,

I'd like to configure the location of ~/.gitconfig through an
environment variable.  My usecase is a simple enough: I have a
repository with all my dotfiles, and I don't want to symlink
~/dotfiles/.gitconfig from $HOME after cloning it.  Does anyone else
think the feature will be useful?

A couple of similar examples:
1. The git templates directory is configurable via the
GIT_TEMPLATE_DIR variable.
2. The location of ~/.zshrc, ~/.zlogin etc is configurable via the
ZDOTDIR variable in ZSH.

Ram

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-09-28  7:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-26 14:14 Configuring the location of ~/.gitconfig Ramkumar Ramachandra
2012-09-26 18:34 ` David Aguilar
2012-09-27  6:49   ` Ramkumar Ramachandra
2012-09-27 14:46     ` [PATCH] config: introduce GIT_GLOBAL_CONFIG to override ~/.gitconfig Ramkumar Ramachandra
2012-09-27 16:57       ` Matthieu Moy
2012-09-27 17:50         ` Junio C Hamano
2012-09-27 17:27       ` Junio C Hamano
2012-09-27 17:35       ` Jeff King
2012-09-27 19:57         ` Junio C Hamano
2012-09-27 20:51         ` Matthieu Moy
2012-09-28  7:05         ` Ramkumar Ramachandra
2012-09-27  6:09 ` Configuring the location of ~/.gitconfig Junio C Hamano
2012-09-27  6:40   ` Anurag Priyam
2012-09-27 17:16     ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).