-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall
More file actions
executable file
·29 lines (22 loc) · 805 Bytes
/
install
File metadata and controls
executable file
·29 lines (22 loc) · 805 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
28
29
#!/bin/bash
set -e
dotfiles=$(cd $(dirname $0); pwd)
rm -rf ~/.bashrc ~/.bash_profile ~/.bash_logout
ln -sf $dotfiles/bashrc ~/.bashrc
ln -sf $dotfiles/bash_profile ~/.bash_profile
ln -sf $dotfiles/bash_logout ~/.bash_logout
mkdir -p ~/.local/share
rm -rf ~/.local/share/fonts ~/.fonts.conf
ln -sf $dotfiles/fonts ~/.local/share/fonts
ln -sf $dotfiles/fonts.conf ~/.fonts.conf
rm -rf ~/.gitconfig ~/.gitignore
ln -sf $dotfiles/gitconfig ~/.gitconfig
ln -sf $dotfiles/gitignore ~/.gitignore
mkdir -p ~/.config/i3
rm -rf ~/.config/i3/config
ln -sf $dotfiles/i3 ~/.config/i3/config
rm -rf ~/.Xresources ~/.Xresources.d ~/.xsession
ln -sf $dotfiles/Xresources ~/.Xresources
ln -sf $dotfiles/Xresources.d ~/.Xresources.d
ln -sf $dotfiles/xsession ~/.xsession
ln -sf $dotfiles/tern-config ~/.tern-config