summaryrefslogtreecommitdiff
path: root/README.md
blob: 8c4a3fa0dd9bd1b56c813ca95572ce6b62f551e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# dotfiles

TL;DR:

``` shell
git submodule update --init --recursive
./install-all
```

Git submodules btw.  This utilises [GNU stow](https://www.gnu.org/software/stow/).  In case you don't know how to use
it:

``` shell
stow -t ~ -R <pkg>
```

So, you can do stuff like:

``` shell
stow -t ~ -R environment
stow -t ~ -R zsh
```

Or simply:

``` shell
stow -t ~ -R *
```

Note that this repo contains a lot of dotfiles (files named with . in front).
This might make them be invisible with `ls` :).

## Important notes

Before stowing anything, you should probably run `./init-skel` to make sure some generic directories don't end up linked
to this repo.

After stowing `emacs`, make sure `.emacs.d` doesn't exist.  Kill all active emacs sessions (incl. daemons) and
`rm -fr ~/.emacs ~/.emacs.el ~/.emacs.d` (of course, first make sure they don't contain anything important).  Then start
a new Emacs session and check whether any of them have been recreated.  If yes, there's some issue.