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
- Host: GitHub
- URL: https://github.com/sarcasm/dotfiles
- Owner: Sarcasm
- Created: 2016-08-21T15:24:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-23T19:41:55.000Z (almost 10 years ago)
- Last Synced: 2025-01-11T00:28:29.467Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/