mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-29 03:59:48 +08:00
Put conf_file loop outside of init_file loop (#666)
This commit is contained in:
parent
97b6b92cdd
commit
c0e69a589e
|
@ -74,15 +74,15 @@ function require
|
||||||
|
|
||||||
source $init $path
|
source $init $path
|
||||||
|
|
||||||
for conf in $conf_path
|
|
||||||
source $conf
|
|
||||||
end
|
|
||||||
|
|
||||||
emit init_$package $path
|
emit init_$package $path
|
||||||
|
|
||||||
set -g omf_init_path $omf_init_path $path
|
set -g omf_init_path $omf_init_path $path
|
||||||
emit perf:timer:finish $init
|
emit perf:timer:finish $init
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for conf in $conf_path
|
||||||
|
source $conf
|
||||||
|
end
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user