-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·41 lines (25 loc) · 1.17 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
38
39
40
41
#!/bin/bash -xe
# install brew
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# install --cask iterm2
# brew install --cask iterm2
# install oh-my-zsh
# curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# copy the file to local ~/.zshrc
# cat ./.zshrc >> ~/.zshrc
# # install powerlevel10k
# git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# # install zsh-autosuggestions
# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# # install zsh-syntax-highlighting
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# copy powerlevel10k to destination
# cp -f ./powerlevel10k.zsh-theme ~/powerlevel10k/powerlevel10k.zsh-theme
# copy p10k config to destination
# cat ./.p10k.zsh >> ~/.p10k.zsh
# install nvm
# brew install nvm
echo "install completed"
# change zsh to default shell
# sudo sh -c "echo $(which zsh) >> /etc/shells"
# chsh -s $(which zsh)