Forward arguments using $argv
This commit is contained in:
parent
1c983b81ea
commit
4841a8de3d
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue