-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·55 lines (40 loc) · 1.22 KB
/
setup.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
54
#!/bin/bash
# git
git config --global user.email "[email protected]"
git config --global user.name "Henry Hazan"
# vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
ln -sf `pwd`/vim/vimrc ~/.vimrc
# neo-vim
mkdir ~/.config/nvim
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
ln -sf `pwd`/neovim/init.vim ~/.config/nvim/init.vim
## liquidprompt
mkdir ~/liquidprompt
git clone https://github.com/nojhan/liquidprompt.git $HOME/liquidprompt
source $HOME/liquidprompt/liquidprompt
# zsh
git clone http://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
ln -sf `pwd`/zsh/zshrc ~/.zshrc
#sudo chsh -s $(which zsh)
# ack
#ln -sf `pwd`/ack/ackrc ~/.ackrc
# tmux
ln -sf `pwd`/tmux/tmux.conf ~/.tmux.conf
# i3
ln -sf `pwd`/i3/config ~/.config/i3/config
# synergy
#ln -sf `pwd`/synergy/synergy.conf ~/.synergy.conf
# git
ln -sf `pwd`/git/gitconfig ~/.gitconfig
ln -sf `pwd`/git/gitignore ~/.gitignore
# vimperator [firefox]
ln -sf `pwd`/vimperator/vimperatorrc ~/.vimperatorrc
# bins
mkdir -p ~/.bin
for i in `pwd`/bin/* ; do
echo $i
ln -sf $i ~/.bin/`basename $i`
done