Functions/Prompt/Disable-PromptGit.ps1
<# .SYNOPSIS Disable the git prompt extension. .DESCRIPTION Disable the git prompt extension within the custom prompt. It will not reset the prompt to the PowerShell default. .INPUTS None. .OUTPUTS None. .EXAMPLE Disable-PromptGit Disable the git prompt extension. .NOTES Author : Claudio Spizzi License : MIT License .LINK https://github.com/claudiospizzi/Spizzi.Profile #> function Disable-PromptGit { [CmdletBinding()] param ( ) Set-Variable -Scope Global -Name PromptGit -Value $false } |