- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] managing .bashrc in subversion?
- From: Gavin Carr <gavin@xxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Apr 2008 15:57:38 +1000
- Organisation: Open Fusion
- User-agent: Mutt/1.5.17 (2007-11-01)
On Tue, Apr 08, 2008 at 03:04:59PM +1000, Sonia Hamilton wrote:
> A "process" rather than "technical" question about subversion.
>
> My personal subversion repo is setup, works ok, etc. But I notice that
> subversion only lets you checkout a directory, not a file.
>
> I want to manage (for example) my .bashrc file in subversion - how to do
> it? I could check in all of /home/sonia, but I'd have to setup heaps of
> exclusions - nasty. I could put .bashrc in /home/sonia/bin (for example)
> and link to it "cd; ln -s bin/.bashrc .bashrc) - a hack.
>
> Any other suggestions?
I use a directory called ~/.dotfiles which contains a few *.bashrc and
*.profile files, a vimrc, an Xdefaults, etc.
I either include them from the top-level instance e.g. in .bashrc:
test -d $HOME/.dotfiles && . $HOME/.dotfiles/*.bashrc
or just symlink them in.
Cheers,
Gavin