-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsymlink.sh
More file actions
executable file
·27 lines (19 loc) · 814 Bytes
/
symlink.sh
File metadata and controls
executable file
·27 lines (19 loc) · 814 Bytes
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
#!/bin/bash
echo; echo ">> Creating ~/.config folder"
mkdir -p ~/.config/
echo; echo ">> Setting symlinks for dots folder"
ln -sfnv "$(pwd)" ~/.dots
echo; echo ">> Setting symlinks for default configurations"
ln -sfnv ~/.dots/input/inputrc ~/.inputrc
echo; echo ">> Setting symlinks for ruby configurations"
ln -sfnv ~/.dots/gem/gemrc ~/.gemrc
ln -sfnv ~/.dots/irb/irbrc ~/.irbrc
ln -sfnv ~/.dots/guard/guard.rb ~/.guard.rb
echo; echo ">> Setting symlinks for eslint configurations"
ln -sfnv ~/.dots/eslint/eslintrc ~/.eslintrc
echo; echo ">> Setting symlinks for alacritty configurations"
ln -sfnv ~/.dots/alacritty ~/.config/alacritty
echo; echo ">> Setting symlinks for ripgrep configurations"
ln -sfnv ~/.dots/rg ~/.config/rg
echo; echo ">> Setting symlinks for git"
ln -sfnv ~/.dots/git ~/.config/git