diff --git a/scripts/Common/Software/oh-my-posh/main.fish b/scripts/Common/Software/oh-my-posh/main.fish index ea8f462e..6d27a7d1 100644 --- a/scripts/Common/Software/oh-my-posh/main.fish +++ b/scripts/Common/Software/oh-my-posh/main.fish @@ -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 diff --git a/scripts/Common/Software/vscode/main.fish b/scripts/Common/Software/vscode/main.fish index 055ca9c1..e0629345 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 user - runPSUserConfig "$dir/Main.ps1" $user + function userConfig -V dir + runPSUserConfig "$dir/Main.ps1" $argv end runInstaller $argv