Switch from powerlevel10k to starship

This commit is contained in:
Gnarwhal 2025-07-06 01:06:49 +00:00
parent e8986e8e73
commit 89d6e557fa
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
7 changed files with 341 additions and 3534 deletions

22
.zshrc
View file

@ -1,17 +1,9 @@
# 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 [ -f $HOME/.zsh/term.zsh ]; then
source $HOME/.zsh/term.zsh
fi
export ZSH="$HOME/.zsh/oh-my-zsh/"
ZSH_THEME="powerlevel10k/powerlevel10k"
source $ZSH/oh-my-zsh.sh
# Set up the PATH variable
@ -25,10 +17,6 @@ unsetopt null_glob
HISTFILE="$HOME/.zsh/history"
# Powerlevel10k theme
# source ~/.zsh/p10k_themes/blue_and_pink.zsh
source ~/.zsh/p10k_themes/purple.zsh
export GPG_TTY=$TTY
# Case sensitive completion (with case insensitive fallback)
@ -40,5 +28,15 @@ if [ -f $HOME/.zsh/no_rm.zsh ]; then
source $HOME/.zsh/no_rm.zsh
fi
export GEM_HOME=$HOME/.gem
plugins=(git)
umask 22
PATH="/home/gnarwhal/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/home/gnarwhal/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/gnarwhal/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/home/gnarwhal/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/home/gnarwhal/perl5"; export PERL_MM_OPT;
eval "$(starship init zsh)"