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 sudo -HE pwsh "$base" Configure
end end
function userConfig -S -V base -a name function userConfig -S -V base
runPSUserConfig "$base" $name runPSUserConfig "$base" $argv
end end
runInstaller $argv runInstaller $argv

View file

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