Prevent PowerShell errors
This commit is contained in:
parent
1d1250a3e0
commit
b36e3631ab
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue