mirror of
https://github.com/gosticks/brew.git
synced 2026-08-12 20:50:29 +00:00
Add support for PowerShell-preview package
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user