From e440a5d37f5e40a664ad7af4b223306df408041d Mon Sep 17 00:00:00 2001 From: Nicolai VdS Date: Sun, 24 Nov 2024 13:12:33 +0100 Subject: [PATCH] changed to omp instead of powerlevels10k since its on life support --- .zshrc | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.zshrc b/.zshrc index 6609ede..07f054d 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 - # Set the directory we want to store zinit and plugins ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/shere}/zinit/zinit.git" @@ -17,10 +10,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 @@ -38,8 +27,7 @@ autoload -U 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 --config $HOME/.config/ohmyposh/zen.toml)" # Keybinds bindkey '^p' history-search-backward