Skip compiled wordcode files (ie. zwc extensions)
This commit is contained in:
parent
592249def2
commit
5178a8a1a8
1 changed files with 3 additions and 0 deletions
3
zshrc
3
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 ; 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
|
||||
|
|
Loading…
Add table
Reference in a new issue