add conf.d to require mechanism (#653)

pull/662/head
Derek W. Stavis 6 years ago committed by GitHub
parent 17c1726ae3
commit 355cc597fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,6 +31,7 @@ function require
set function_path $package_path/functions*
set complete_path $package_path/completions*
set init_path $package_path/init.fish*
set conf_path $package_path/conf.d/*.fish
# Autoload functions
test -n "$function_path"
@ -72,6 +73,11 @@ function require
end
source $init $path
for conf in $conf_path
source $conf
end
emit init_$package $path
set -g omf_init_path $omf_init_path $path

Loading…
Cancel
Save