mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-11 16:00:21 +08:00
allow git prompt status opt out for powershell and bash
This commit is contained in:
parent
3ee244e4c1
commit
c04cc6dc7f
@ -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.
|
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 |
|
| Shell | Cmder `Profile.d` Scripts |
|
||||||
| ------------- | --------------------------------------------------|
|
| ------------- | -------------------------------------------------- |
|
||||||
| Cmder | `%CMDER_ROOT%\config\profile.d\*.bat and *.cmd` |
|
| Cmder | `%CMDER_ROOT%\config\profile.d\*.bat and *.cmd` |
|
||||||
| PowerShell | `$ENV:CMDER_ROOT\config\profile.d\*.ps1` |
|
| PowerShell | `$ENV:CMDER_ROOT\config\profile.d\*.ps1` |
|
||||||
| Bash/Mintty | `$CMDER_ROOT/config/profile.d/*.sh` |
|
| 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.
|
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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user