Forward arguments using $argv
This commit is contained in:
parent
1c983b81ea
commit
4841a8de3d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue