zsh_theme removed
This commit is contained in:
+2
-1
@@ -2,7 +2,7 @@
|
|||||||
cd ~
|
cd ~
|
||||||
cp ~/.zshrc ~/.zshrc.bak
|
cp ~/.zshrc ~/.zshrc.bak
|
||||||
|
|
||||||
if [ ! -f $(which starship 2>/dev/null) ]; then
|
if [[ ! -f $(which starship 2>/dev/null) ]] then
|
||||||
echo "Installing starship..."
|
echo "Installing starship..."
|
||||||
curl -sS https://starship.rs/install.sh | sh
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
fi
|
fi
|
||||||
@@ -19,6 +19,7 @@ fi
|
|||||||
if [ -n $(sed -n '/source ~\/.p10k.zsh/=' ~/.zshrc) ]; then
|
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 '/# To customize prompt, run `p10k configure` or edit ~\/.p10k.zsh./d' ~/.zshrc
|
||||||
sed -i -e '/^\[\[ \! -f ~\/.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
|
fi
|
||||||
|
|
||||||
# install starship theme & alias plugin
|
# install starship theme & alias plugin
|
||||||
|
|||||||
Reference in New Issue
Block a user