Forward arguments using $argv

This commit is contained in:
Manuel Thalmann 2024-10-25 12:39:26 +02:00
parent 1c983b81ea
commit 4841a8de3d
2 changed files with 4 additions and 4 deletions

View file

@ -24,8 +24,8 @@ begin
sudo -HE pwsh "$base" Configure
end
function userConfig -S -V base -a name
runPSUserConfig "$base" $name
function userConfig -S -V base
runPSUserConfig "$base" $argv
end
runInstaller $argv

View file

@ -3,8 +3,8 @@ begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function userConfig -V dir -a user
runPSUserConfig "$dir/Main.ps1" $user
function userConfig -V dir
runPSUserConfig "$dir/Main.ps1" $argv
end
runInstaller $argv