diff --git a/.zshrc b/.zshrc index 05714c0..07ca13e 100644 --- a/.zshrc +++ b/.zshrc @@ -1,10 +1,3 @@ -# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. -# Initialization code that may require console input (password prompts, [y/n] -# confirmations, etc.) must go above this block; everything else may go below. -if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then - source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" -fi - if [[ -f "/opt/homebrew/bin/brew" ]] then # If you're using macOS, you'll want this enabled eval "$(/opt/homebrew/bin/brew shellenv)" @@ -22,9 +15,6 @@ fi # Source/Load zinit source "${ZINIT_HOME}/zinit.zsh" -# Add in Powerlevel10k -zinit ice depth=1; zinit light romkatv/powerlevel10k - # Add in zsh plugins zinit light zsh-users/zsh-syntax-highlighting zinit light zsh-users/zsh-completions @@ -45,8 +35,7 @@ autoload -Uz compinit && compinit zinit cdreplay -q -# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +eval "$(oh-my-posh init zsh)" # Keybindings bindkey -e