1
0
mirror of https://github.com/akelge/zsh synced 2025-08-15 06:28:24 +00:00

Improve compinit and plugins

This commit is contained in:
2024-10-30 09:39:21 +01:00
parent 05eb0c7819
commit 9dd1f6819f
3 changed files with 17 additions and 16 deletions

12
zshrc
View File

@ -20,12 +20,12 @@
[ -d ~/.zsh ] && BASE=~/.zsh
function loadRC {
[ -d $1/zshfunctions ] && fpath=($1/zshfunctions $fpath)
[ -d $1/completions ] && fpath=($1/completions $fpath)
[ -d $1/zshfunctions ] && fpath=($1/zshfunctions $fpath)
[ -d $1/completions ] && fpath=($1/completions $fpath)
for zshFile in $1/[0-9]*.zsh; do
source $zshFile
done
for zshFile in $1/[0-9]*.zsh; do
source $zshFile
done
}
# Default PATH
@ -43,6 +43,6 @@ PATH="$PATH:$HOME/bin"
# Add local customization file
if [ -w $LIBRARY ]; then
[ -f $LIBRARY/99-local.zsh ] || echo "# Local customizations" > $LIBRARY/99-local.zsh
[ -f $LIBRARY/99-local.zsh ] || echo "# Local customizations" > $LIBRARY/99-local.zsh
fi