Skip compiled wordcode files (ie. zwc extensions)
This commit is contained in:
parent
d6014c3a60
commit
f4d509ffd0
1 changed files with 3 additions and 1 deletions
4
zshrc
4
zshrc
|
@ -10,6 +10,7 @@ _load_settings() {
|
|||
if [ -d "$_dir" ]; then
|
||||
if [ -d "$_dir/pre" ]; then
|
||||
for config in "$_dir"/pre/**/*(N-.); do
|
||||
if [ ${config:e} = "zwc" ] ; then continue ; fi
|
||||
. $config
|
||||
done
|
||||
fi
|
||||
|
@ -23,7 +24,7 @@ _load_settings() {
|
|||
:
|
||||
;;
|
||||
*)
|
||||
if [ -f $config ]; then
|
||||
if [[ -f $config && ${config:e} != "zwc" ]]; then
|
||||
. $config
|
||||
fi
|
||||
;;
|
||||
|
@ -32,6 +33,7 @@ _load_settings() {
|
|||
|
||||
if [ -d "$_dir/post" ]; then
|
||||
for config in "$_dir"/post/**/*(N-.); do
|
||||
if [ ${config:e} = "zwc" ] ; then continue ; fi
|
||||
. $config
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue