Skip to content

Commit

Permalink
fix: switch to top level profile to avoid overriding user profile
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaclan committed May 15, 2024
1 parent 87a7ee6 commit 4fe92d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolboxes/powershell-toolbox/Containerfile.powershell
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN apk upgrade \
&& curl -LSfs https://raw.githubusercontent.com/cantino/mcfly/master/ci/install.sh | sh -s -- --git cantino/mcfly \
&& mkdir -p ~/.config/powershell \
&& cp /tmp/Microsoft.PowerShell_profile.ps1 ~/.config/powershell \
&& cp /tmp/profile.ps1 "$(~/.dotnet/tools/pwsh -Command "\$PROFILE.AllUsersAllHosts")" \
&& mkdir -p ~/.local/share/powershell/PSReadLine \
&& touch ~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt \
&& rm -rf /tmp/*
Expand Down

0 comments on commit 4fe92d3

Please sign in to comment.