From bb17543bb64413e4557e54f613b1c9842a91cb82 Mon Sep 17 00:00:00 2001 From: Andrea Mistrali Date: Wed, 30 Oct 2024 13:31:03 +0100 Subject: [PATCH] hotfix --- zshrc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/zshrc b/zshrc index 516743d..07136ec 100644 --- a/zshrc +++ b/zshrc @@ -10,7 +10,7 @@ # Load zprof if we need to profile startup time # at the bottom of ~/.zshrc add `zprof >! zsh_profile` to save # profiling data at startup -zmodload zsh/zprof +# zmodload zsh/zprof # Default PATH PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/bin" @@ -26,15 +26,14 @@ local BASE="/etc" local LIBRARY=${BASE}/zsh.d -# local KERNEL=`uname -s` local KERNLIB=${LIBRARY}/$(uname -s) -for lib in $LIBRARY $KERNLIB; do +for lib in $KERNLIB $LIBRARY; do [ -d $lib/zshfunctions ] && fpath=($lib/zshfunctions $fpath) [ -d $lib/completions ] && fpath=($lib/completions $fpath) for zshFile in $lib/[0-9]*.zsh; do - # echo $zshFile + echo $zshFile source $zshFile done done