From 8f0c37c4e298e569397fd4d5142771df01477a19 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sat, 26 Nov 2022 20:37:10 -0500 Subject: Enable starship prompt --- zsh/.zshrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 2b9b0f4..d3d065a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -7,9 +7,10 @@ fi # 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 [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then +# source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +# fi +eval "$(starship init zsh)" # Resources: # https://github.com/mika/zsh-pony @@ -32,7 +33,7 @@ HISTSIZE=1000000 SAVEHIST=$HISTSIZE setopt inc_append_history share_history histignorealldups -source ~/.zsh/powerlevel10k/powerlevel10k.zsh-theme +# source ~/.zsh/powerlevel10k/powerlevel10k.zsh-theme # cd to a directory used as a commant setopt autocd -- cgit v1.2.3