diff --git a/scripts/Common/Software/vscode/main.fish b/scripts/Common/Software/vscode/main.fish index 6cf00c40..66a9e95f 100755 --- a/scripts/Common/Software/vscode/main.fish +++ b/scripts/Common/Software/vscode/main.fish @@ -3,8 +3,8 @@ begin set -l dir (status dirname) source "$dir/../../Scripts/software.fish" - function userConfig -V dir -a name - pwsh "$dir/Main.ps1" ConfigureUser; + function userConfig -V dir -a user + pwsh -CommandWithArgs '& $args[0] ConfigureUser @{ name=$args[1]; }' "$dir/Main.ps1" $user end runInstaller $argv