allow git prompt status opt out for powershell and bash

This commit is contained in:
Dax T. Games 2019-11-09 16:39:57 -05:00
parent 3ee244e4c1
commit c04cc6dc7f

View File

@ -171,12 +171,12 @@ Note: Bash and Mintty sessions will also source the `$HOME/.bashrc` file if it e
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` |
#### 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.