From 44a8bf5802e7b4a7f094c28208144008fa28f57e Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:00:10 -0500 Subject: [PATCH 01/14] add ability to disable git --- vendor/clink.lua | 57 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 18 deletions(-) diff --git a/vendor/clink.lua b/vendor/clink.lua index 5e47246..83f9387 100644 --- a/vendor/clink.lua +++ b/vendor/clink.lua @@ -280,6 +280,24 @@ local function get_svn_status() return true end +--- +-- Get the status of working dir +-- @return {bool} +--- +local function get_git_status_setting() + gitStatusSetting = io.popen("git config cmder.status") + + for line in gitStatusSetting:lines() do + if string.match(line, 'false') then + gitStatusSetting:close() + return false + end + end + gitStatusSetting:close() + + return true +end + local function git_prompt_filter() -- Colors for git status @@ -290,27 +308,30 @@ local function git_prompt_filter() } local git_dir = get_git_dir() - if git_dir then - -- if we're inside of git repo then try to detect current branch - local branch = get_git_branch(git_dir) - local color - if branch then - -- Has branch => therefore it is a git folder, now figure out status - local gitStatus = get_git_status() - local gitConflict = get_git_conflict() - color = colors.dirty - if gitStatus then - color = colors.clean - end + if get_git_status_setting() then + if git_dir then + -- if we're inside of git repo then try to detect current branch + local branch = get_git_branch(git_dir) + local color + if branch then + -- Has branch => therefore it is a git folder, now figure out status + local gitStatus = get_git_status() + local gitConflict = get_git_conflict() - if gitConflict then - color = colors.conflict - end + color = colors.dirty + if gitStatus then + color = colors.clean + end - clink.prompt.value = string.gsub(clink.prompt.value, "{git}", color.."("..verbatim(branch)..")") - return false - end + if gitConflict then + color = colors.conflict + end + + clink.prompt.value = string.gsub(clink.prompt.value, "{git}", color.."("..verbatim(branch)..")") + return false + end + end end -- No git present or not in git file From 7877d417f87b7af2656bd3df42e65dc76f638fc3 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:13:55 -0500 Subject: [PATCH 02/14] changelog --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c91809..e365746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,18 @@ ## [Unreleased] -## [1.3.13](https://github.com/cmderdev/cmder/tree/v1.3.12) (2019-10-27) +## [1.3.13](https://github.com/cmderdev/cmder/tree/v1.3.12) (2019-11-3) ### Adds +* #2197, #1364, #447 Add ability to disable git status either globally or for individual repos in `cmd::cmder*` sessions. + * To disable git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`: + + ``` + [cmder] + status = false + ``` + * #2174 `--` Syntax to pass command line options to Conemu. * Disable Clink Logging * Add `~` tab completion. From 60279fea04e0e83ad9a4459d926eebb6e4572f70 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:22:29 -0500 Subject: [PATCH 03/14] README.md --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2e0484b..3ef2d06 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,8 @@ _(Some shortcuts are not yet documented, though they exist - please document the ### Access to multiple shells in one window using tabs You can open multiple tabs each containing one of the following shells: -| Task | Shell | Description | -| ---- | ----- | ----------- | +| Task | Shell | Description | +| ---- | ----- | ----------- | | Cmder | `cmd.exe` | Windows `cmd.exe` shell enhanced with Git, Git aware prompt, Clink (GNU Readline), and Aliases. | | Cmder as Admin | `cmd.exe` | Administrative Windows `cmd.exe` Cmder shell. | | PowerShell | `powershell.exe` | Windows PowerShell enhanced with Git and Git aware prompt . | @@ -176,6 +176,17 @@ You can write `*.cmd|*.bat`, `*.ps1`, and `*.sh` scripts and just drop them in t | PowerShell | `$ENV:CMDER_ROOT\config\profile.d\*.ps1` | | Bash/Mintty | `$CMDER_ROOT/config/profile.d/*.sh` | +#### Git Status Opt-Out for `Cmd::Cmder*` Sessions + + To disable git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`. + + *Note: theis configuration is not portable* + + ``` + [cmder] + status = false + ``` + ### Aliases #### Cmder(`Cmd.exe`) Aliases You can define simple aliases for `cmd.exe` sessions with a command like `alias name=command`. Cmd.exe aliases support optional parameters through the `$1-9` or the `$*` special characters so the alias `vi=vim.exe $*` typed as `vi [filename]` will open `[filename]` in `vim.exe`. From 74fcb5b62b0e8bc28f43bcfe90cfa2aa5b3022f1 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:23:37 -0500 Subject: [PATCH 04/14] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ef2d06..4e440e9 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ You can write `*.cmd|*.bat`, `*.ps1`, and `*.sh` scripts and just drop them in t To disable git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`. - *Note: theis configuration is not portable* + *Note: This configuration is not portable* ``` [cmder] From f1fbd980934dcb1cbfdbec7234b3e6429c0a3365 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:25:02 -0500 Subject: [PATCH 05/14] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e440e9..45330b4 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ You can write `*.cmd|*.bat`, `*.ps1`, and `*.sh` scripts and just drop them in t #### Git Status Opt-Out for `Cmd::Cmder*` Sessions - To disable git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`. + To disable Cmder prompt git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`. *Note: This configuration is not portable* From 788d4e0caa92bc05f8d7bd4e9041ddf104630e56 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:28:18 -0500 Subject: [PATCH 06/14] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 45330b4..2814335 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ You can write `*.cmd|*.bat`, `*.ps1`, and `*.sh` scripts and just drop them in t #### Git Status Opt-Out for `Cmd::Cmder*` Sessions - To disable Cmder prompt git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`. + To disable Cmder prompt git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config` and start a new session. *Note: This configuration is not portable* From 5a6f873d2b1180a69ccc25ec96f4bc2fdf36ca9b Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 11:29:18 -0500 Subject: [PATCH 07/14] README.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e365746..35f6e20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [Unreleased] -## [1.3.13](https://github.com/cmderdev/cmder/tree/v1.3.12) (2019-11-3) +## [1.3.13](https://github.com/cmderdev/cmder/tree/v1.3.12) (2019-11-03) ### Adds From 661f59d0fbf56a94c40ea1e43c5263ae5e26f88f Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 12:36:28 -0500 Subject: [PATCH 08/14] Fix #2191 profile.ps1: CheckGit does not export $gitLoaded --- CHANGELOG.md | 1 + vendor/profile.ps1 | 48 +++++----------------------------------------- 2 files changed, 6 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35f6e20..2f443bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ ### Fixes +* Fix #2191: profile.ps1: CheckGit does not export $gitLoaded * Fix #2192: Set default prompt hooks before loading user profile * Fix #2097, #1899: powershell foreground color changing to green * Fix #1979: Update Clink Completions to 0.3.4 diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index c0dbfb1..4800ec1 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -32,53 +32,13 @@ $moduleInstallerAvailable = [bool](Get-Command -Name 'Install-Module' -ErrorActi # Add Cmder modules directory to the autoload path. $CmderModulePath = Join-path $PSScriptRoot "psmodules/" +$CmderFunctions = Join-Path $CmderModulePath "Cmder.ps1" +. $CmderFunctions + if(-not $moduleInstallerAvailable -and -not $env:PSModulePath.Contains($CmderModulePath) ){ $env:PSModulePath = $env:PSModulePath.Insert(0, "$CmderModulePath;") } -function Configure-Git($GIT_INSTALL_ROOT){ - $env:Path += $(";" + $GIT_INSTALL_ROOT + "\cmd") - - # Add "$GIT_INSTALL_ROOT\usr\bin" to the path if exists and not done already - $GIT_INSTALL_ROOT_ESC=$GIT_INSTALL_ROOT.replace('\','\\') - if ((test-path "$GIT_INSTALL_ROOT\usr\bin") -and -not ($env:path -match "$GIT_INSTALL_ROOT_ESC\\usr\\bin")) { - $env:path = "$env:path;$GIT_INSTALL_ROOT\usr\bin" - } - - # Add "$GIT_INSTALL_ROOT\mingw[32|64]\bin" to the path if exists and not done already - if ((test-path "$GIT_INSTALL_ROOT\mingw32\bin") -and -not ($env:path -match "$GIT_INSTALL_ROOT_ESC\\mingw32\\bin")) { - $env:path = "$env:path;$GIT_INSTALL_ROOT\mingw32\bin" - } elseif ((test-path "$GIT_INSTALL_ROOT\mingw64\bin") -and -not ($env:path -match "$GIT_INSTALL_ROOT_ESC\\mingw64\\bin")) { - $env:path = "$env:path;$GIT_INSTALL_ROOT\mingw64\bin" - } -} - -$gitLoaded = $false -function Import-Git($Loaded){ - if($Loaded) { return } - $GitModule = Get-Module -Name Posh-Git -ListAvailable - if($GitModule | select version | where version -le ([version]"0.6.1.20160330")){ - Import-Module Posh-Git > $null - } - if(-not ($GitModule) ) { - Write-Warning "Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder." - } - # Make sure we only run once by alawys returning true - return $true -} - -function checkGit($Path) { - if (Test-Path -Path (Join-Path $Path '.git') ) { - $gitLoaded = Import-Git $gitLoaded - Write-VcsStatus - return - } - $SplitPath = split-path $path - if ($SplitPath) { - checkGit($SplitPath) - } -} - try { # Check if git is on PATH, i.e. Git already installed on system Get-command -Name "git" -ErrorAction Stop >$null @@ -97,6 +57,8 @@ if (Get-Module PSReadline -ErrorAction "SilentlyContinue") { } # Pre assign default prompt hooks so the first run of cmder gets a working prompt. +$gitLoaded = $false +$env:gitLoaded = $false [ScriptBlock]$PrePrompt = {} [ScriptBlock]$PostPrompt = {} [ScriptBlock]$CmderPrompt = { From dac4b27e283e8260994ca09d50cf4044bcbf878c Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 12:59:36 -0500 Subject: [PATCH 09/14] separate powershell functions from profile.ps1 --- .gitignore | 2 +- vendor/psmodules/Cmder.ps1 | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 vendor/psmodules/Cmder.ps1 diff --git a/.gitignore b/.gitignore index 4a75750..bc4fb83 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ vendor/*/* !vendor/bin/* !vendor/lib/* !vendor/* -!vendor/psmodules/PsGet +!vendor/psmodules/* config/* !config/Readme.md diff --git a/vendor/psmodules/Cmder.ps1 b/vendor/psmodules/Cmder.ps1 new file mode 100644 index 0000000..f9ddff1 --- /dev/null +++ b/vendor/psmodules/Cmder.ps1 @@ -0,0 +1,44 @@ +function Configure-Git($GIT_INSTALL_ROOT){ + $env:Path += $(";" + $GIT_INSTALL_ROOT + "\cmd") + + # Add "$GIT_INSTALL_ROOT\usr\bin" to the path if exists and not done already + $GIT_INSTALL_ROOT_ESC=$GIT_INSTALL_ROOT.replace('\','\\') + if ((test-path "$GIT_INSTALL_ROOT\usr\bin") -and -not ($env:path -match "$GIT_INSTALL_ROOT_ESC\\usr\\bin")) { + $env:path = "$env:path;$GIT_INSTALL_ROOT\usr\bin" + } + + # Add "$GIT_INSTALL_ROOT\mingw[32|64]\bin" to the path if exists and not done already + if ((test-path "$GIT_INSTALL_ROOT\mingw32\bin") -and -not ($env:path -match "$GIT_INSTALL_ROOT_ESC\\mingw32\\bin")) { + $env:path = "$env:path;$GIT_INSTALL_ROOT\mingw32\bin" + } elseif ((test-path "$GIT_INSTALL_ROOT\mingw64\bin") -and -not ($env:path -match "$GIT_INSTALL_ROOT_ESC\\mingw64\\bin")) { + $env:path = "$env:path;$GIT_INSTALL_ROOT\mingw64\bin" + } +} + +function Import-Git($Loaded){ + $GitModule = Get-Module -Name Posh-Git -ListAvailable + if($GitModule | select version | where version -le ([version]"0.6.1.20160330")){ + Import-Module Posh-Git > $null + } + if(-not ($GitModule) ) { + Write-Warning "Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder." + } + # Make sure we only run once by alawys returning true + return $true +} + +function checkGit($Path) { + if (Test-Path -Path (Join-Path $Path '.git') ) { + if($env:gitLoaded -eq 'false') { + $env:gitLoaded = Import-Git $gitLoaded + } + Write-VcsStatus + return + } + $SplitPath = split-path $path + if ($SplitPath) { + checkGit($SplitPath) + } +} + + From 6ab4599a4deb279e5249e45d458fb77da7e9a8b6 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 13:07:20 -0500 Subject: [PATCH 10/14] separate powershell functions from profile.ps1 --- vendor/profile.ps1 | 1 - vendor/psmodules/Cmder.ps1 | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index 4800ec1..87c7301 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -57,7 +57,6 @@ if (Get-Module PSReadline -ErrorAction "SilentlyContinue") { } # Pre assign default prompt hooks so the first run of cmder gets a working prompt. -$gitLoaded = $false $env:gitLoaded = $false [ScriptBlock]$PrePrompt = {} [ScriptBlock]$PostPrompt = {} diff --git a/vendor/psmodules/Cmder.ps1 b/vendor/psmodules/Cmder.ps1 index f9ddff1..7d9d469 100644 --- a/vendor/psmodules/Cmder.ps1 +++ b/vendor/psmodules/Cmder.ps1 @@ -15,7 +15,7 @@ function Configure-Git($GIT_INSTALL_ROOT){ } } -function Import-Git($Loaded){ +function Import-Git(){ $GitModule = Get-Module -Name Posh-Git -ListAvailable if($GitModule | select version | where version -le ([version]"0.6.1.20160330")){ Import-Module Posh-Git > $null @@ -30,7 +30,7 @@ function Import-Git($Loaded){ function checkGit($Path) { if (Test-Path -Path (Join-Path $Path '.git') ) { if($env:gitLoaded -eq 'false') { - $env:gitLoaded = Import-Git $gitLoaded + $env:gitLoaded = Import-Git } Write-VcsStatus return From 44bc089ee4dbf3a9fef864f5909de7c38ff2d376 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sun, 3 Nov 2019 14:14:47 -0500 Subject: [PATCH 11/14] move lambda to cmder prompt method for easier user change --- vendor/profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/profile.ps1 b/vendor/profile.ps1 index 87c7301..ad9182a 100644 --- a/vendor/profile.ps1 +++ b/vendor/profile.ps1 @@ -67,6 +67,7 @@ $env:gitLoaded = $false if (get-command git -erroraction silentlycontinue) { checkGit($pwd.ProviderPath) } + Microsoft.PowerShell.Utility\Write-Host "`nλ " -NoNewLine -ForegroundColor "DarkGray" } # Enhance Path @@ -156,7 +157,6 @@ if ( $(get-command prompt).Definition -match 'PS \$\(\$executionContext.SessionS $host.UI.RawUI.WindowTitle = Microsoft.PowerShell.Management\Split-Path $pwd.ProviderPath -Leaf PrePrompt | Microsoft.PowerShell.Utility\Write-Host -NoNewline CmderPrompt - Microsoft.PowerShell.Utility\Write-Host "`nλ " -NoNewLine -ForegroundColor "DarkGray" PostPrompt | Microsoft.PowerShell.Utility\Write-Host -NoNewline $global:LASTEXITCODE = $realLASTEXITCODE return " " From 3ee244e4c1f6a5e31dff3190d6213219921066fc Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sat, 9 Nov 2019 16:36:16 -0500 Subject: [PATCH 12/14] allow git prompt status opt out for powershell and bash --- vendor/git-prompt.sh | 25 +++++++++++++++++++++---- vendor/psmodules/Cmder.ps1 | 14 +++++++++++++- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/vendor/git-prompt.sh b/vendor/git-prompt.sh index 135e994..632c774 100644 --- a/vendor/git-prompt.sh +++ b/vendor/git-prompt.sh @@ -1,3 +1,14 @@ +function getGitStatusSetting() { + gitStatusSetting=$(git config cmder.status 2>/dev/null) + + if [[ -n ${gitStatusSetting} ]] && [[ ${gitStatusSetting} == false ]] + then + echo false + else + echo true + fi +} + if test -f /etc/profile.d/git-sdk.sh then TITLEPREFIX=SDK-${MSYSTEM#MINGW} @@ -7,7 +18,10 @@ fi if test -f ~/.config/git/git-prompt.sh then - . ~/.config/git/git-prompt.sh + if [[ $(getGitStatusSetting) == true ]] + then + . ~/.config/git/git-prompt.sh + fi else PS1='\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]' # set window title # PS1="$PS1"'\n' # new line @@ -26,9 +40,12 @@ else if test -f "$COMPLETION_PATH/git-prompt.sh" then . "$COMPLETION_PATH/git-completion.bash" - . "$COMPLETION_PATH/git-prompt.sh" - PS1="$PS1"'\[\033[36m\]' # change color to cyan - PS1="$PS1"'`__git_ps1`' # bash function + if [[ $(getGitStatusSetting) == true ]] + then + . "$COMPLETION_PATH/git-prompt.sh" + PS1="$PS1"'\[\033[36m\]' # change color to cyan + PS1="$PS1"'`__git_ps1`' # bash function + fi fi fi PS1="$PS1"'\[\033[0m\]' # change color diff --git a/vendor/psmodules/Cmder.ps1 b/vendor/psmodules/Cmder.ps1 index 7d9d469..e1954dd 100644 --- a/vendor/psmodules/Cmder.ps1 +++ b/vendor/psmodules/Cmder.ps1 @@ -32,7 +32,11 @@ function checkGit($Path) { if($env:gitLoaded -eq 'false') { $env:gitLoaded = Import-Git } - Write-VcsStatus + + if (getGitStatusSetting -eq $true) { + Write-VcsStatus + } + return } $SplitPath = split-path $path @@ -41,4 +45,12 @@ function checkGit($Path) { } } +function getGitStatusSetting() { + $gitStatus = (git config cmder.status) | out-string + if (($gitStatus -replace "`n" -replace "`r") -eq "false") { + return $false + } else { + return $true + } +} From c04cc6dc7fe24e8a166bda3b670f4de8ff385e8e Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sat, 9 Nov 2019 16:39:57 -0500 Subject: [PATCH 13/14] allow git prompt status opt out for powershell and bash --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2814335..5fdc080 100644 --- a/README.md +++ b/README.md @@ -164,19 +164,19 @@ Single user portable configuration is possible using the cmder specific shell co | ------------- | ----------------------------------------- | | Cmder | `%CMDER_ROOT%\config\user_profile.cmd` | | PowerShell | `$ENV:CMDER_ROOT\config\user_profile.ps1` | -| Bash/Mintty | `$CMDER_ROOT/config/user_profile.sh` | +| Bash/Mintty | `$CMDER_ROOT/config/user_profile.sh` | Note: Bash and Mintty sessions will also source the `$HOME/.bashrc` file if it exists after it sources `$CMDER_ROOT/config/user_profile.sh`. You can write `*.cmd|*.bat`, `*.ps1`, and `*.sh` scripts and just drop them in the `%CMDER_ROOT%\config\profile.d` folder to add startup config to Cmder. -| Shell | Cmder `Profile.d` Scripts | -| ------------- | --------------------------------------------------| -| Cmder | `%CMDER_ROOT%\config\profile.d\*.bat and *.cmd` | -| PowerShell | `$ENV:CMDER_ROOT\config\profile.d\*.ps1` | -| Bash/Mintty | `$CMDER_ROOT/config/profile.d/*.sh` | +| Shell | Cmder `Profile.d` Scripts | +| ------------- | -------------------------------------------------- | +| Cmder | `%CMDER_ROOT%\config\profile.d\*.bat and *.cmd` | +| PowerShell | `$ENV:CMDER_ROOT\config\profile.d\*.ps1` | +| Bash/Mintty | `$CMDER_ROOT/config/profile.d/*.sh` | -#### Git Status Opt-Out for `Cmd::Cmder*` Sessions +#### Git Status Opt-Out To disable Cmder prompt git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config` and start a new session. From 9724151f06eef3a520d1b8e75e7b58512eab805a Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sat, 9 Nov 2019 16:40:55 -0500 Subject: [PATCH 14/14] allow git prompt status opt out for powershell and bash --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f443bd..c71b063 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ### Adds -* #2197, #1364, #447 Add ability to disable git status either globally or for individual repos in `cmd::cmder*` sessions. +* #2197, #1364, #447 Add ability to disable git status either globally or for individual repos. * To disable git status globally add the following to `~/.gitconfig` or locally for a single repo `[repo]/.git/config`: ```