Add p10k prompt with jj status.

This commit is contained in:
2026-03-28 19:52:43 -07:00
parent 2949eb85e5
commit 636e4265aa
2 changed files with 1840 additions and 4 deletions

1831
zsh/.p10k.zsh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,8 @@
# Enable Powerlevel10k instant prompt (must be at the very top)
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
HISTFILE=~/.histfile HISTFILE=~/.histfile
HISTSIZE=100000 HISTSIZE=100000
SAVEHIST=100000 SAVEHIST=100000
@@ -9,12 +14,12 @@ setopt SHARE_HISTORY # share history across sessions
bindkey -e # emacs bindings bindkey -e # emacs bindings
# Plugins (zsh-autocomplete must come before compinit; it calls compinit itself) # Completion
source /usr/share/zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh autoload -Uz compinit && compinit
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# Simple prompt source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
PROMPT='%F{magenta}%* %F{cyan}%~ %(?.%F{green}.%F{red})%#%f ' [[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
# PATH configuration # PATH configuration
PATH=$PATH:~/.npm-global/bin PATH=$PATH:~/.npm-global/bin