-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlink.sh
53 lines (40 loc) · 1.25 KB
/
link.sh
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
41
42
43
44
45
46
47
48
49
50
51
52
53
# SH
rm -rf ~/.profile || true
ln -s ~/.dotfiles/sh/.profile ~/.profile
# BASH
rm -rf ~/.bashrc || true
ln -s ~/.dotfiles/bash/.bashrc ~/.bashrc
rm -rf ~/.bash_profile || true
ln -s ~/.dotfiles/bash/.bash_profile ~/.bash_profile
rm -rf ~/.bash_logout || true
ln -s ~/.dotfiles/bash/.bash_logout ~/.bash_logout
rm -rf ~/.bash_login || true
ln -s ~/.dotfiles/bash/.bash_login ~/.bash_login
# ZSH
rm -rf ~/.config/zsh || true
ln -s ~/.dotfiles/zsh ~/.config/zsh
rm -rf ~/.zshenv || true
ln -s ~/.dotfiles/zsh/.zshenv ~/.zshenv
# VIM
rm -rf ~/.config/vim || true
ln -s ~/.dotfiles/vim ~/.config/vim
# Alacritty
rm -rf ~/.config/alacritty || true
ln -s ~/.dotfiles/alacritty ~/.config/alacritty
# Starship terminal theme
rm -rf ~/.config/starship.toml || true
ln -s ~/.dotfiles/starship/starship.toml ~/.config/starship.toml
# Regolith
rm -rf ~/.config/regolith || true
ln -s ~/.dotfiles/regolith ~/.config/regolith
# # X11
# rm -rf ~/.Xsession || true
# ln -s ~/.dotfiles/x11/.Xsession ~/.Xsession
# # PICOM (blur)
# sudo rm /usr/share/regolith-compositor/init || true
# sudo ln -s ~/.dotfiles/regolith/picom/init /usr/share/regolith-compositor/init
# Firefox
if [ -d "$HOME/.mozilla" ] ; then
mv ~/.mozilla ~/.config/mozilla
ln -s ~/.config/mozilla ~/.mozilla
fi