Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgson/dotfiles
Dotfiles managed with Git and GNU Stow.
https://github.com/rgson/dotfiles
configuration dotfiles stow
Last synced: about 2 months ago
JSON representation
Dotfiles managed with Git and GNU Stow.
- Host: GitHub
- URL: https://github.com/rgson/dotfiles
- Owner: rgson
- Created: 2019-01-10T19:07:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T20:45:08.000Z (2 months ago)
- Last Synced: 2024-11-09T21:29:20.930Z (2 months ago)
- Topics: configuration, dotfiles, stow
- Language: Shell
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
Dotfiles managed with Git and GNU Stow.
Inspired by ["Using GNU Stow to manage your dotfiles"](http://brandon.invergo.net/news/2012-05-26-using-gnu-stow-to-manage-your-dotfiles.html).
> ⚠️ Some config files (e.g. git, zsh) contain personal information such as my
> name, e-mail address and GPG key ID. Take care to replace this information
> with your own.## Process
1. Create a directory for each program (or other reasonable unit of division)
that you want to configure.
2. Place the program's configuration files in the directory, preserving the
directory structure of your home directory.
3. Run GNU Stow to symlink the appropriate files in your home directory.### Example
Managing Git's `~/.gitconfig`:
```sh
# Importing an existing config file
> mkdir git
> mv ~/.gitconfig git> tree -a
.
└── git
└── .gitconfig# Link it to the appropriate place
> stow -vt ~ git
LINK: .gitconfig => dotfiles/git/.gitconfig> ls -l ~/.gitconfig
lrwxrwxrwx 1 robin robin 23 Jan 6 16:01 /home/robin/.gitconfig -> dotfiles/git/.gitconfig
```