-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
executable file
·32 lines (27 loc) · 1.07 KB
/
Copy pathsetup
File metadata and controls
executable file
·32 lines (27 loc) · 1.07 KB
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
#!/bin/bash
CURDIR=$(pwd)
# link directories of configs
ln -si "$CURDIR"/dunst ~/.config/dunst
ln -si "$CURDIR"/LXDE ~/.config/lxsession/LXDE
ln -si "$CURDIR"/openbox/openbox ~/.config/openbox
ln -si "$CURDIR"/openbox/obmenu-generator ~/.config/obmenu-generator
ln -si "$CURDIR"/termite ~/.config/termite
# link vim to locations for both nvim and vim
ln -si "$CURDIR"/vim ~/.vim
ln -si "$CURDIR"/vim/vimrc "$CURDIR"/vim/init.vim
ln -si "$CURDIR"/vim ~/.config/nvim
# link each script in scripts into .local/bin
for script in "$CURDIR"/scripts/*; do
ln -si "$CURDIR"/scripts/"$(basename "$script")" ~/.local/bin/"$(basename "$script")"
done
# link other config files
ln -si "$CURDIR"/bash_profile ~/.bash_profile
ln -si "$CURDIR"/bashrc ~/.bashrc
ln -si "$CURDIR"/profile ~/.profile
ln -si "$CURDIR"/inputrc ~/.inputrc
ln -si "$CURDIR"/tmux.conf ~/.tmux.conf
ln -si "$CURDIR"/conky.conf ~/.config/conky/conky.conf
ln -si "$CURDIR"/Xresources ~/.Xresources
ln -si "$CURDIR"/git-prompt.sh ~/.git-prompt.sh
ln -si "$CURDIR"/gitconfig ~/.gitconfig
ln -si "$CURDIR"/gitignore ~/.gitignore