chore(.zshrc): remove colorize plugin and ZSH_COLORIZE_STYLE setting to simplify and improve shell startup performance

feat(.zshrc): add oh-my-posh setup to enhance terminal appearance and functionality based on the terminal program being used
This commit is contained in:
David Ibia
2024-06-12 19:38:17 +01:00
parent cdbff2f5f6
commit 4eb85b43c9

10
.zshrc
View File

@@ -71,15 +71,17 @@ COMPLETION_WAITING_DOTS="true"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git asdf zsh-syntax-highlighting colorize )
ZSH_COLORIZE_STYLE="colorful"
ZSH_TMUX_AUTOSTART="true"
plugins=(git asdf zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# User configuration
# Setup oh-my-posh
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
eval "$(oh-my-posh init zsh)"
fi
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment