fixed zsh setup
This commit is contained in:
parent
7e2a2ad6c2
commit
dd10bdffd7
1 changed files with 9 additions and 3 deletions
12
setup.sh
12
setup.sh
|
@ -625,10 +625,16 @@ setup_zoom() {
|
|||
}
|
||||
|
||||
setup_zsh() {
|
||||
package_install \
|
||||
oh-my-zsh-git `# for zsh plugins` \
|
||||
zsh-theme-powerlevel10k `# make zsh look pretty` \
|
||||
# install oh my zsh
|
||||
if [[ ! -d /home/pomp/.oh-my-zsh ]]; then
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue