Copy default schema before top-level files

This commit is contained in:
Jorge Bucaran 2020-11-05 03:20:27 +09:00
parent 4f2bc7bf01
commit bd7b69d47b
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -109,8 +109,8 @@ function fisher -a cmd -d "fish plugin manager"
set -q files[1] && set files (string replace --all $data $fisher_path $files)
set -q funcs[1] && set files (string replace --all $data $fisher_path/functions $funcs) $files
command cp -Rf $funcs $fisher_path/functions 2>/dev/null
command cp -Rf $data/{functions,completions,conf.d} $fisher_path 2>/dev/null
command cp -Rf $funcs $fisher_path/functions 2>/dev/null
for file in $files
echo "sourcing $file" >&2