mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-25 09:41:40 +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
|
||||
|
||||
for conf in $conf_path
|
||||
source $conf
|
||||
end
|
||||
|
||||
emit init_$package $path
|
||||
|
||||
set -g omf_init_path $omf_init_path $path
|
||||
emit perf:timer:finish $init
|
||||
end
|
||||
|
||||
for conf in $conf_path
|
||||
source $conf
|
||||
end
|
||||
|
||||
return 0
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user