diff --git a/.zshrc b/.zshrc index e99bb37..3070aa8 100644 --- a/.zshrc +++ b/.zshrc @@ -1,9 +1,5 @@ -# 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 +# Init OhMyPosh +eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/lkraven.toml)" # Set ZINIT Home ZINIT_HOME="${HOME}/.config/zinit/zinit.git" @@ -35,9 +31,6 @@ path=(~/.local/bin $path) # Load Zinit source "${ZINIT_HOME}/zinit.zsh" -# Powerlevel10k -zinit ice depth=1; zinit light romkatv/powerlevel10k - # add zinit zinit light zsh-users/zsh-syntax-highlighting zinit light zsh-users/zsh-completions @@ -81,7 +74,7 @@ alias cat='bat' alias tree='eza --tree' # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +# [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export FZF_DEFAULT_COMMAND="fd --hidden --strip-cwd-prefix --exclude .git"