This commit is contained in:
Andrea Mistrali 2024-10-30 12:43:28 +01:00
parent 1fe3029353
commit f154388670
1 changed files with 4 additions and 5 deletions

9
zshrc
View File

@ -29,12 +29,11 @@ local LIBRARY=${BASE}/zsh.d
# local KERNEL=`uname -s`
local KERNLIB=${LIBRARY}/$(uname -s)
# loadRC ${LIBRARY} ${KERNLIB}
for subdir in $LIBRARY $KERNLIB; do
[ -d $subdir/zshfunctions ] && fsubdir=($subdir/zshfunctions $fsubdir)
[ -d $subdir/completions ] && fsubdir=($subdir/completions $fsubdir)
for lib in $LIBRARY $KERNLIB; do
[ -d $lib/zshfunctions ] && fpath=($lib/zshfunctions $fpath)
[ -d $lib/completions ] && fpath=($lib/completions $fpath)
for zshFile in $subdir/[0-9]*.zsh; do
for zshFile in $lib/[0-9]*.zsh; do
# echo $zshFile
source $zshFile
done