An open API service indexing awesome lists of open source software.

https://github.com/sarcasm/dotfiles

The home of my $HOME configuration files
https://github.com/sarcasm/dotfiles

Last synced: 5 months ago
JSON representation

The home of my $HOME configuration files

Awesome Lists containing this project

README

          

# Introduction

My dotfiles, managed by git and [GNU Stow](https://www.gnu.org/software/stow/).

This article explains the idea:

* http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html

An alternative method could be to use the `homegit` aliases from this article:

* http://chneukirchen.org/blog/archive/2013/01/a-grab-bag-of-git-tricks.html

# Setup

To configure stow to push file to the user home directory:

```
cat < .stowrc
--target=$HOME
EOF
```

Then you can enable configuration files using `stow `.

Enable all with `stow *`.

Some packages require configuration before stowing,
these are listed below.

## git setup

To use different names for work and home,
the git configuration includes `~/.gitconfig.local`.
This was done using:

git config --global include.path '~/.gitconfig.local'

To customize local settings, one can use
`git config --file ~/.gitconfig.local`, e.g:

```
git config --file ~/.gitconfig.local user.name "Firstname Lastname"
git config --file ~/.gitconfig.local user.email "firstname.lastname@company.com"
```

See also:

* http://agateau.com/2015/splitting-your-gitconfig/