This commit is contained in:
Andrea Mistrali 2024-10-30 13:31:03 +01:00
parent 13ccd1c30d
commit bb17543bb6
1 changed files with 3 additions and 4 deletions

7
zshrc
View File

@ -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