-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlinkup.sh
executable file
·34 lines (28 loc) · 1.29 KB
/
linkup.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
#!/usr/bin/env bash
ABS_PATH=`pwd`
if [[ "$1" = "--sudo" ]]; then
sudo ln -Tsf "$ABS_PATH/scripts/ecli" /usr/local/bin/ecli
sudo ln -Tsf "$ABS_PATH/scripts/prisma-puzzle-timer-synced" /usr/local/bin/prisma-puzzle-timer-synced
sudo ln -Tsf "$ABS_PATH/scripts/ct-synced" /usr/local/bin/ct-synced
sudo ln -Tsf "$ABS_PATH/scripts/wallpapers.py" /usr/local/bin/wallpapers
fi
mkdir -p ~/.config/autostart
mkdir -p ~/.config/systemd
mkdir -p ~/.config/terminator
mkdir -p ~/.ghc
ln -Tsf "$ABS_PATH/scripts/conky.desktop" ~/.config/autostart/conky.desktop
ln -Tsf "$ABS_PATH/conky" ~/.config/conky
ln -Tsf "$ABS_PATH/flake8/flake8" ~/.config/flake8
ln -Tsf "$ABS_PATH/ghci/ghci.conf" ~/.ghc/ghci.conf
ln -Tsf "$ABS_PATH/git/gitconfig" ~/.gitconfig
ln -Tsf "$ABS_PATH/git/gitignore_global" ~/.gitignore_global
ln -Tsf "$ABS_PATH/gtags/gtags.conf" ~/.globalrc
ln -Tsf "$ABS_PATH/systemd/user" ~/.config/systemd/user
ln -Tsf "$ABS_PATH/terminator/config" ~/.config/terminator/config
ln -Tsf "$ABS_PATH/terminology" ~/.config/terminology
ln -Tsf "$ABS_PATH/vim" ~/.vim
ln -Tsf "$ABS_PATH/vimperator/vimperatorrc" ~/.vimperatorrc
ln -Tsf "$ABS_PATH/zsh/zshenv" ~/.zshenv
ln -Tsf "$ABS_PATH/zsh/zshrc" ~/.zshrc
ln -Tsf "$ABS_PATH/zsh/zprofile" ~/.zprofile
dconf load /com/gexperts/Tilix/ < $ABS_PATH/dconf/tilix.dconf