mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-24 01:13:13 +03:00
16 lines
611 B
Fish
16 lines
611 B
Fish
function local_install -a localRepo
|
|
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"
|
|
|
|
_set_lean_defaults
|
|
_source_lean_functions
|
|
|
|
# Install fisher and fishtape for testing
|
|
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
|
|
fisher add jorgebucaran/fishtape
|
|
end
|
|
end |