-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·52 lines (51 loc) · 1.36 KB
/
install.sh
File metadata and controls
executable file
·52 lines (51 loc) · 1.36 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
45
46
47
48
49
50
51
52
#!/bin/bash
PWD=$(pwd)
case "$1" in
atom)
echo "Installing atom config"
ln -s $PWD/atom/.atom ~/
cp $PWD/atom/.atom/config.cson{.dist,}
;;
bash)
echo "Installing bash"
ln -s $PWD/bash/.bash_profile ~/
ln -s $PWD/bash/.bashrc ~/
;;
git)
echo "Installing git"
bash git/install.sh
bash git/configure_identity.sh
bash git/configure_ux.sh
bash git/configure_aliases.sh
;;
mutt)
echo "Installing mutt"
ln -s $PWD/mutt/.muttrc ~/
;;
osx)
echo "Configuring some OSX settings"
bash osx/configure.sh
;;
tmux)
echo "Installing tmux"
ln -s $PWD/tmux/.tmux.conf ~/
;;
vim)
echo "Installing vim"
ln -s $PWD/vim/.vimrc ~/
mkdir -p ~/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
ln -s $PWD/vim/.vim/ftplugin ~/.vim/ftplugin
;;
zsh)
echo "Installing zsh"
mkdir ~/.antigen_install
curl -L https://github.com/zsh-users/antigen/releases/download/v2.2.3/antigen.zsh > ~/.antigen_install/antigen.zsh
ln -s $PWD/zsh/.zshrc ~/
ln -s $PWD/zsh/.zsh_custom ~/
;;
*)
echo $"Unrecognized installable: $1"
exit 1
esac