Add function for inheriting fish installers

This commit is contained in:
Manuel Thalmann 2024-10-12 01:54:31 +02:00
parent d1076f9b2d
commit 4504ca85d4
20 changed files with 53 additions and 97 deletions
scripts/Common/Software/git

View file

@ -1,14 +1,15 @@
#!/bin/env fish
begin
set -l dir (status dirname)
set -l base "$dir/Manage.ps1"
source "$(status dirname)/../../Scripts/software.fish"
function configureSW -S -V dir
pwsh "$dir/Manage.ps1" Configure
function configureSW -S -V base
pwsh "$base" Configure
end
function userConfig -S -V dir -a name
runPSUserConfig "$dir/Manage.ps1" $name
function userConfig -S -V base -a name
runPSUserConfig "$base" $name
end
runInstaller $argv