Switch to powerlevel10k

This commit is contained in:
Blallo 2023-05-08 23:56:53 +02:00
parent 026c7f42fb
commit 5a125aeecd
No known key found for this signature in database
GPG key ID: C530464EEDCF489A
2 changed files with 11 additions and 1 deletions

10
.zshrc
View file

@ -1,3 +1,10 @@
# 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
### Source local secrets
[ -f ${HOME}/.config/zsh/secrets ] && . ${HOME}/.config/zsh/secrets
@ -422,3 +429,6 @@ function ,pkfr() {
alias ,pkpr='piknik -paste | tar xzpvf -'
# vim: set ft=zsh et sw=0 ts=2 sts=0:
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

View file

@ -1,5 +1,4 @@
ohmyzsh/ohmyzsh path:lib
ohmyzsh/ohmyzsh path:themes/agnoster.zsh-theme
ohmyzsh/ohmyzsh path:plugins/docker
ohmyzsh/ohmyzsh path:plugins/virtualenv
ohmyzsh/ohmyzsh path:plugins/vagrant
@ -11,3 +10,4 @@ gangleri/pipenv
leophys/zsh-plugin-fzf-finder
bobthecow/git-flow-completion
wfxr/forgit
romkatv/powerlevel10k