Merge pull request #12500 from jpawlowski/patch-1
Add support for PowerShell-preview package to shellenv
This commit is contained in:
commit
710bdfaf12
@ -35,7 +35,7 @@ homebrew-shellenv() {
|
||||
echo "setenv MANPATH ${HOMEBREW_PREFIX}/share/man\`[ \${?MANPATH} == 1 ] && echo \":\${MANPATH}\"\`:;"
|
||||
echo "setenv INFOPATH ${HOMEBREW_PREFIX}/share/info\`[ \${?INFOPATH} == 1 ] && echo \":\${INFOPATH}\"\`;"
|
||||
;;
|
||||
pwsh | -pwsh)
|
||||
pwsh | -pwsh | pwsh-preview | -pwsh-preview)
|
||||
echo "[System.Environment]::SetEnvironmentVariable('HOMEBREW_PREFIX','${HOMEBREW_PREFIX}',[System.EnvironmentVariableTarget]::Process)"
|
||||
echo "[System.Environment]::SetEnvironmentVariable('HOMEBREW_CELLAR','${HOMEBREW_CELLAR}',[System.EnvironmentVariableTarget]::Process)"
|
||||
echo "[System.Environment]::SetEnvironmentVariable('HOMEBREW_REPOSITORY','${HOMEBREW_REPOSITORY}',[System.EnvironmentVariableTarget]::Process)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user