-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·45 lines (31 loc) · 1.25 KB
/
setup.sh
File metadata and controls
executable file
·45 lines (31 loc) · 1.25 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
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
cd $HOME/config
echo "Fetching git submodules"
git submodule update --init --recursive
echo "Setup global gitignore"
git config --global core.excludesfile $HOME/config/gitignore_global
echo "Creating link files"
mkdir -p $HOME/.config
mkdir -p $HOME/.config/pulse
ln -sn $HOME/config/termite $HOME/.config/termite
ln -sn $HOME/config/awesome $HOME/.config/awesome
ln -sn $HOME/config/zshrc $HOME/.zshrc
ln -sn $HOME/config/zprofile $HOME/.zprofile
ln -sn $HOME/config/oh-my-zsh $HOME/.oh-my-zsh
#ln -sn $HOME/config/vim $HOME/.vim
#ln -sn $HOME/config/vimrc $HOME/.vimrc
ln -sn $HOME/config/ranger $HOME/.config/ranger
ln -sn $HOME/config/dircolors $HOME/.dircolors
ln -sn $HOME/config/spacemacs $HOME/.spacemacs
#ln -sn $HOME/config/weechat $HOME/.weechat
#ln -sn $HOME/config/pulse/default.pa $HOME/.config/pulse/default.pa
echo "Installing vim bundles"
vim -e +PluginInstall +qall
echo "Building vim plugins"
function command_installed {
command -v $1 >/dev/null 2>&1 || { echo "Please install $1 and rerun. Aborting." >&2; exit 1; }
}
#command_installed cmake
#command_installed python3
#cd $HOME/config/vim/bundle/YouCompleteMe
#./install.py