various additions from sim laptop

This commit is contained in:
Alexander Gehrke 2025-05-08 13:55:52 +02:00 committed by Alexander Roso
parent 912a3282c5
commit 21e41141ef
13 changed files with 645 additions and 28 deletions

9
zshrc
View file

@ -1,3 +1,4 @@
#zmodload zsh/zprof
typeset -U path
HISTFILE=${XDG_STATE_HOME:-$HOME/.local/state}/zsh/histfile
@ -67,6 +68,12 @@ function(){
try-source $(zdotfile dirs)
}
try-source $(zdotfile local.zsh)
if [[ ! -z $ZDOTDIR/plugins/fzf/fzf.plugin.zsh ]] && exists fzf; then
mkdir -p $ZDOTDIR/plugins/fzf
fzf --zsh 2>/dev/null > $ZDOTDIR/plugins/fzf/fzf.plugin.zsh || true
fi
ZIM_HOME=${XDG_CACHE_HOME:-$HOME/.cache}/zim
if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then
@ -120,4 +127,6 @@ if exists mail; then
}
__chromaz_extra_left+=_prompt_cron_mails
fi
tabs -4
#zprof