-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmac
executable file
·33 lines (25 loc) · 898 Bytes
/
mac
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
#!/bin/sh
echo 'Downloading thoughtbot/laptop....'
cd $HOME
curl --remote-name https://raw.githubusercontent.com/thoughtbot/laptop/master/mac
if [ ! -L "$HOME/.laptop.local" ]; then
echo "Symlinking .laptop.local..."
ln -s "$HOME/dotfiles/laptop.local" "$HOME/.laptop.local"
else
echo ".laptop.local already linked..."
fi
echo 'Running `sh mac 2>&1 | tee ~/laptop.log`...'
sh mac 2>&1 | tee ~/laptop.log
# instal omtmux
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
# install ohmyzsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install space-vim
bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh)
echo 'linking rc files'
rcup -f
# Great Git Defaults
git config --global pull.rebase true
git config --global fetch.prune true
git config --global diff.colorMoved zebra