diff --git a/scripts/Common/Software/aliae/main.fish b/scripts/Common/Software/aliae/main.fish index c67001a1..385c4fa5 100755 --- a/scripts/Common/Software/aliae/main.fish +++ b/scripts/Common/Software/aliae/main.fish @@ -6,7 +6,7 @@ begin function configureSW -V dir source "$dir/../bash/profile.fish" source "$dir/../fish/profile.fish" - set -l file (pwsh -CommandWithArgs '. $args[0]; Get-GlobalConfigPath' "$dir/Constants.ps1") + set -l file (pwsh -NoProfile -CommandWithArgs '. $args[0]; Get-GlobalConfigPath' "$dir/Constants.ps1") sudo install -Dm644 "$dir/aliae.yml" "$file" begin diff --git a/scripts/lib/software.fish b/scripts/lib/software.fish index 06082ad4..af6b03b2 100755 --- a/scripts/lib/software.fish +++ b/scripts/lib/software.fish @@ -73,7 +73,7 @@ begin set _flag_script $argv[1] end - pwsh -CommandWithArgs '& $args[0] $args[1] @{ name=$args[2]; }' "$_flag_script" "$_flag_action" "$_flag_user" + pwsh -NoProfile -CommandWithArgs '& $args[0] $args[1] @{ name=$args[2]; }' "$_flag_script" "$_flag_action" "$_flag_user" end function runPSUserConfig