1
0
Fork 0

fixed zsh setup

This commit is contained in:
Kim, Jimin 2021-10-11 10:23:55 +09:00
parent 7e2a2ad6c2
commit dd10bdffd7

View file

@ -625,10 +625,16 @@ setup_zoom() {
} }
setup_zsh() { setup_zsh() {
package_install \ # install oh my zsh
oh-my-zsh-git `# for zsh plugins` \ if [[ ! -d /home/pomp/.oh-my-zsh ]]; then
zsh-theme-powerlevel10k `# make zsh look pretty` \ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install powerlevel10k theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
cp .zshrc ~/.zshrc
else
log "zsh already configured. Skipping."
fi
} }