2020-05-05 00:22:08 +03:00
|
|
|
function local_install -a localRepo
|
2020-05-17 20:01:17 +03:00
|
|
|
if source "$localRepo/install.fish"
|
|
|
|
cp -r "$localRepo/conf.d" $__fish_config_dir
|
|
|
|
cp -r "$localRepo/functions" $__fish_config_dir
|
|
|
|
cp -r "$localRepo/lean_theme" $__fish_config_dir
|
|
|
|
cp -r "$localRepo/tests" $__fish_config_dir
|
|
|
|
cp -r "$localRepo/dev/." "$__fish_config_dir/functions"
|
2020-05-14 01:25:02 +03:00
|
|
|
|
2020-05-17 20:01:17 +03:00
|
|
|
_set_lean_defaults
|
|
|
|
_source_lean_functions
|
2020-05-14 01:25:02 +03:00
|
|
|
|
2020-05-17 20:01:17 +03:00
|
|
|
# Install fisher and fishtape for testing
|
|
|
|
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
|
|
|
|
fisher add jorgebucaran/fishtape
|
|
|
|
end
|
2020-05-05 00:22:08 +03:00
|
|
|
end
|