enable starship

This commit is contained in:
2025-04-27 13:20:55 +08:00
parent ed61157663
commit 6b41d832da
5 changed files with 201 additions and 14 deletions

View File

@@ -18,9 +18,12 @@ if [ "$1" = "zsh" ]; then
if [ "$i" = "install" ]; then
echo "Installing Oh My Zsh..."
zsh "$current_dir/zsh/install_ohmyzsh.sh"
elif [ "$i" = "config" ]; then
elif [ "$i" = "ohmyzsh" ]; then
echo "Config Oh My Zsh..."
zsh "$current_dir/zsh/config_ohmyzsh.sh"
elif [ "$i" = "starship" ]; then
echo "Config Starship..."
zsh "$current_dir/zsh/config_starship.sh"
elif [ "$i" = "p10k" ]; then
echo "config powerlevel10k..."
zsh "$current_dir/zsh/config_p10k.sh"
@@ -31,4 +34,5 @@ if [ "$1" = "zsh" ]; then
done
fi
echo "Run \"exec zsh\" to apply changes."
exec zsh
fi