Skip compiled wordcode files (ie. zwc extensions)

This commit is contained in:
John Eckhart 2017-05-22 02:19:20 -04:00
parent 592249def2
commit 5178a8a1a8

3
zshrc
View file

@ -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 ; done
. $config
done
fi
@ -24,6 +25,7 @@ _load_settings() {
;;
*)
if [ -f $config ]; then
if [ ${config:e} = "zwc" ] ; then continue ; done
. $config
fi
;;
@ -32,6 +34,7 @@ _load_settings() {
if [ -d "$_dir/post" ]; then
for config in "$_dir"/post/**/*(N-.); do
if [ ${config:e} = "zwc" ] ; then continue ; done
. $config
done
fi