Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2014-04-12 Thread Stroller
On Sat, 12 April 2014, at 1:00 pm, Thomas Adam wrote: > On Sat, Apr 12, 2014 at 01:48:13PM +0200, Thomas Koch wrote: >> >> >> I'm reading the tmux book[1] and wanted to start my .tmux.conf. But it's >> highly annoying to have just another dotfile in $HOME. I manage my dotfiles >> with >> git

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2014-04-12 Thread Thomas Adam
On Sat, Apr 12, 2014 at 01:48:13PM +0200, Thomas Koch wrote: > Hi, > > I'm reading the tmux book[1] and wanted to start my .tmux.conf. But it's > highly annoying to have just another dotfile in $HOME. I manage my dotfiles > with > git[2] and keep an eye on what accumulates in my $HOME. It's a l

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2014-04-12 Thread Thomas Koch
Hi, I'm reading the tmux book[1] and wanted to start my .tmux.conf. But it's highly annoying to have just another dotfile in $HOME. I manage my dotfiles with git[2] and keep an eye on what accumulates in my $HOME. It's a lot nicer to have configuration in ~/.config instead of ~. Please consid

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-27 Thread Ben Boeckel
On Mon, Oct 15, 2012 at 09:05:52 GMT, Nicholas Marriott wrote: > Not wild about this - tmux is not an X program and this doesn't seem to > have particularly wide adoption right now anyway. It's gaining support. git recently added support for looking in $XDG_CONFIG_HOME/git/config. I like using it

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-27 Thread Ben Boeckel
On Mon, Oct 15, 2012 at 08:59:57 GMT, Thomas Adam wrote: > On 15 October 2012 00:37, Nate Soares wrote: >> Hey all. The attached patch makes tmux honor XDG_CONFIG_HOME if it is set. >> This is a nice way to prevent the pollution of the home directory. > > It's also quite Linux specific, and hence

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-15 Thread Nicholas Marriott
Not wild about this - tmux is not an X program and this doesn't seem to have particularly wide adoption right now anyway. Can't you just do: alias tmux="tmux -f ~/.config/tmux/config" For now if you want this? On Sun, Oct 14, 2012 at 04:37:41PM -0700, Nate Soares wrote: >Hey all. The attac

Re: Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-15 Thread Thomas Adam
Hi, On 15 October 2012 00:37, Nate Soares wrote: > Hey all. The attached patch makes tmux honor XDG_CONFIG_HOME if it is set. > This is a nice way to prevent the pollution of the home directory. It's also quite Linux specific, and hence I really don't see the benefit to this at all. If you real

Make tmux honor XDG_CONFIG_HOME if it is set.

2012-10-15 Thread Nate Soares
Hey all. The attached patch makes tmux honor XDG_CONFIG_HOME if it is set. This is a nice way to prevent the pollution of the home directory. See the xdg spec for more details. I use this to keep my home directory clean, and