summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-11-26 20:37:10 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-11-26 20:37:10 -0500
commit8f0c37c4e298e569397fd4d5142771df01477a19 (patch)
tree133531b4351c20558d6acff2f46c2025a4617db7 /zsh
parent275c3dde0f9b7ae8cc7acd0c3e4dc426537b3b05 (diff)
Enable starship prompt
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc9
1 files 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