Add function for inheriting fish
installers
This commit is contained in:
parent
d1076f9b2d
commit
4504ca85d4
20 changed files with 53 additions and 97 deletions
scripts/Common/Software/git
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue