Add script to automate symlinking
- Author
- Maarten Vangeneugden
- Date
- Oct. 8, 2017, 3:39 a.m.
- Hash
- 47fa8adc129bf7bd252485f4cf9d909eac89e7ce
- Parent
- 1c4682ae62792c281f91fb4060af5c7321ff44dd
- Modified file
- create-symlinks.sh
create-symlinks.sh ¶
25 additions and 0 deletions.
View changes Hide changes
+ |
1 |
# directory and the locations where they are ought to be found. |
+ |
2 |
# Run this file in the repository's directory, otherwise the files will not be |
+ |
3 |
# found! |
+ |
4 |
|
+ |
5 |
# In case it doesn't exist yet: |
+ |
6 |
mkdir ~/.config |
+ |
7 |
|
+ |
8 |
# i3 |
+ |
9 |
mkdir ~/.config/i3 |
+ |
10 |
ln -s i3/config ~/.config/i3/config |
+ |
11 |
|
+ |
12 |
# Polybar |
+ |
13 |
mkdir ~/.config/polybar |
+ |
14 |
ln -s polybar/config ~/.config/polybar/config |
+ |
15 |
|
+ |
16 |
# ZSH |
+ |
17 |
ln -s .zshrc ~/.zshrc |
+ |
18 |
ln -s .zlogin ~/.zlogin |
+ |
19 |
|
+ |
20 |
# X11 and Urxvt |
+ |
21 |
ln -s .Xdefaults ~/.Xdefaults |
+ |
22 |
|
+ |
23 |
# GNU Emacs |
+ |
24 |
ln -s .spacemacs ~/.spacemacs |
+ |
25 |