diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..736058a --- /dev/null +++ b/README.md | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # dotfiles | ||
| 2 | |||
| 3 | This utilises [GNU stow](https://www.gnu.org/software/stow/). In case you don't know how to use it: | ||
| 4 | |||
| 5 | ``` shell | ||
| 6 | stow -t ~ -R <pkg> | ||
| 7 | ``` | ||
| 8 | |||
| 9 | So, you can do stuff like: | ||
| 10 | |||
| 11 | ``` shell | ||
| 12 | stow -t ~ -R environment | ||
| 13 | stow -t ~ -R zsh | ||
| 14 | ``` | ||
| 15 | |||
| 16 | Or simply: | ||
| 17 | |||
| 18 | ``` shell | ||
| 19 | stow -t ~ -R * | ||
| 20 | ``` | ||
| 21 | |||
| 22 | Note that this repo contains a lot of dotfiles (files named with . in front). | ||
| 23 | This might make them be invisible with `ls` :). | ||
| 24 | |||
| 25 | ## Important notes | ||
| 26 | |||
| 27 | Before stowing anything, you should probably run `./init-skel` to make sure some generic directories don't end up linked | ||
| 28 | to this repo. | ||
| 29 | |||
| 30 | After stowing `emacs`, make sure `.emacs.d` doesn't exist. Kill all active emacs sessions (incl. daemons) and | ||
| 31 | `rm -fr ~/.emacs ~/.emacs.el ~/.emacs.d` (of course, first make sure they don't contain anything important). Then start | ||
| 32 | a new Emacs session and check whether any of them have been recreated. If yes, there's some issue. | ||