posh-git v0.7.3 Release Notes
Release Date: 2018-04-19 // about 6 years ago-
- 0๏ธโฃ posh-git now exports the variable
$GitPromptScriptBlock
which contains the code for the default prompt. (#501) (PR #513)
If you need to execute your own logic in your own prompt function but still want to display the default posh-git prompt, you can execute this scriptblock from your prompt function e.g.:
# profile.ps1 function prompt { Set-NodeVersion &$GitPromptScriptBlock } Import-Module posh-git
- ๐ Fixed 'Write-Prompt' to be able use Black as foreground color. (#470) (PR #468) Thanks Vladimir Poleh (@vladimir-poleh)
- Pass "git.exe" instead of "git" to Get-Command. (PR #478) (PR #479) Thanks Mike Sigsworth (@mikesigs)
- โ Squash ssh agent warnings if
-Quiet
. (PR #484) Thanks Refael Ackermann (@refack) - ๐ Fixed directory names that contain [brackets] cause GitPrompt to fail. (PR #502) Thanks Duncan Smart (@duncansmart)
- โ Added
Add-PoshGitToProfile -AllUsers
support (PR #504) - ๐ Fixed duplicated branch completion for git checkout (#505) (PR #506) (PR #512) Thanks Christoph Bergmeister (@bergmeister)
- ๐ Fixed PSScriptAnalyzer warnings in the source (PR #509) Thanks Christoph Bergmeister (@bergmeister)
- ๐ Fixed errors added to $Error collection by
Get-GitStatus
command (#500) (PR #514) - โ Added custom path rendering in prompt (#469) (PR #520)
- Clean up wording for work dir local status in help file (PR #516)
- โ Added
$GitPromptSettings.AdminTitlePrefixText
(default:'Administrator: '
) (#537) (PR #538) Thanks Eric Jorgensen (@nebosite) - โ Added
$GitPromptSettings.UntrackedFilesMode
; accepted values are$null
(inheritstatus.showUntrackedFiles
), "all", "no", and "normal" (#556) (PR #557) Thanks David Snedecor (@TheSned) PoshGitVcsPrompt
errors now show details if$GitPromptSettings.Debug
(PR #560)- Exported
Expand-GitCommand
for use with custom tab expansion (#562) (PR #563) - โ Add code coverage to Coveralls.io (#416) (PR #461) Thanks Jan De Dobbeleer (@JanJoris)
- 0๏ธโฃ posh-git now exports the variable