zsh_theme removed

This commit is contained in:
BlackNet Dev
2022-12-24 16:30:08 +01:00
parent ca320def46
commit dbdbc90252
+2 -1
View File
@@ -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