-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
37 lines (27 loc) · 1.07 KB
/
install.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
cp .vimrc ~/.vimrc
cp .tmux.conf ~/.tmux.conf
if [`uname` = "Darwin"]; then
echo set defaults
defaults write com.apple.dock autohide-time-modifier -float 0.2;killall Dock
defaults write com.apple.iphonesimulator ShowSingleTouches 1
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
defaults write com.apple.dock "show-recents" -bool "false" && killall Dock
echo install homebrew
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
echo installed homebrew
brew bundle
echo done brew bundle
elif [ `uname` = "Linux" ]; then
sudo apt install vim tmux git zsh
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
fi
mkdir -p ~/fun
echo install onedark
sh onedark_install.sh
echo install oh my zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
echo
echo ===== Install successfully =====
echo