Change default prompt on ZSH from Oh My Posh to Starship
This commit is contained in:
11
zsh/.zshenv
11
zsh/.zshenv
@@ -5,9 +5,14 @@ if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
fi
|
||||
|
||||
if command -v oh-my-posh > /dev/null 2>&1; then
|
||||
# Initialize Oh My Posh
|
||||
eval "$(oh-my-posh init zsh --config "$(brew --prefix oh-my-posh)/themes/peru.omp.json")"
|
||||
#if command -v oh-my-posh > /dev/null 2>&1; then
|
||||
# # Initialize Oh My Posh
|
||||
# eval "$(oh-my-posh init zsh --config "$(brew --prefix oh-my-posh)/themes/peru.omp.json")"
|
||||
#fi
|
||||
|
||||
if command -v starship > /dev/null 2>&1; then
|
||||
# Initialize Starship
|
||||
eval "$(starship init zsh)"
|
||||
fi
|
||||
|
||||
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
||||
|
||||
Reference in New Issue
Block a user