From dbdbc90252558b96528acd3d74d98a54074c3ebe Mon Sep 17 00:00:00 2001 From: BlackNet Dev Date: Sat, 24 Dec 2022 16:30:08 +0100 Subject: [PATCH] zsh_theme removed --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 321e807..90d6710 100644 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ cd ~ cp ~/.zshrc ~/.zshrc.bak -if [ ! -f $(which starship 2>/dev/null) ]; then +if [[ ! -f $(which starship 2>/dev/null) ]] then echo "Installing starship..." curl -sS https://starship.rs/install.sh | sh fi @@ -19,6 +19,7 @@ fi if [ -n $(sed -n '/source ~\/.p10k.zsh/=' ~/.zshrc) ]; then sed -i -e '/# To customize prompt, run `p10k configure` or edit ~\/.p10k.zsh./d' ~/.zshrc sed -i -e '/^\[\[ \! -f ~\/.p10k.zsh .*/d' ~/.zshrc + sed -i -e 's/^ZSH_THEME="powerlevel10k\/powerlevel10k"/#ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc fi # install starship theme & alias plugin