Skip to content

Commit

Permalink
add zsh install
Browse files Browse the repository at this point in the history
  • Loading branch information
tang-hi committed Dec 25, 2020
1 parent c6237e3 commit 72b42ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
## china
## zsh set
sudo apt-get install zsh
ROOT=/home/$USER
if [ ! -d "$ROOT/.oh-my-zsh" ]; then
git clone https://gitee.com/geogra/ohmyzsh.git ~/.oh-my-zsh
Expand Down
3 changes: 3 additions & 0 deletions install_github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
## github
## zsh set
ROOT=/home/$USER

sudo apt-get install zsh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cp ./.zshrc ~/.zshrc

Expand Down

0 comments on commit 72b42ae

Please sign in to comment.