Skip to content

Commit

Permalink
Added zsh related configs
Browse files Browse the repository at this point in the history
  • Loading branch information
he-sb committed Feb 27, 2022
1 parent ff3e3d8 commit eb14977
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions diy-part2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@

# Modify default IP
sed -i 's/192.168.1.1/192.168.1.3/g' package/base-files/files/bin/config_generate

# Change default shell to zsh
sed -i 's/\/bin\/ash/\/usr\/bin\/zsh/g' package/base-files/files/etc/passwd

## Install oh-my-zsh
# Clone oh-my-zsh repository
git clone https://github.com/robbyrussell/oh-my-zsh ./files/root/.oh-my-zsh

# Install extra plugins
git clone https://github.com/zsh-users/zsh-autosuggestions ./files/root/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ./files/root/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-completions ./files/root/.oh-my-zsh/custom/plugins/zsh-completions

0 comments on commit eb14977

Please sign in to comment.