https://github.com/gujiaxi/dotfiles
A set of configuration files.
https://github.com/gujiaxi/dotfiles
dotfiles emacs tmux vim zsh
Last synced: 2 months ago
JSON representation
A set of configuration files.
- Host: GitHub
- URL: https://github.com/gujiaxi/dotfiles
- Owner: gujiaxi
- Created: 2016-03-11T15:57:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T14:23:39.000Z (over 3 years ago)
- Last Synced: 2025-01-21T18:15:21.749Z (over 1 year ago)
- Topics: dotfiles, emacs, tmux, vim, zsh
- Language: Vim Script
- Size: 401 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My dotfiles
A set of configuration files managed by [stow](http://www.gnu.org/software/stow/).
## Get started
```
stow (GNU Stow)
SYNOPSIS:
stow [OPTION ...] [-D|-S|-R] PACKAGE ... [-D|-S|-R] PACKAGE ...
OPTIONS:
-d DIR, --dir=DIR Set stow dir to DIR (default is current dir)
-t DIR, --target=DIR Set target to DIR (default is parent of stow dir)
-S, --stow Stow the package names that follow this option
-D, --delete Unstow the package names that follow this option
-R, --restow Restow (like stow -D followed by stow -S)
```
This repository can be used as a stow root directory containing several packages such as `emacs`, `tmux`, etc. After "stowing" any of them, the corresponding symlink will be created in the target directory. Below is an example for configuring vim.
``` sh
# Clone this repo.
git clone git@github.com:gujiaxi/dotfiles.git
# Enter the directory.
cd dotfiles/
# Create vim configs in $HOME.
# This will create a symlink in $HOME
# pointing to everything in vim folder of stow dir.
stow -t ~ -S vim
```