mirror of
https://github.com/cmderdev/cmder.git
synced 2025-06-14 05:37:51 +08:00
Allow scripts to disable part of the Cmder prompt.
The Cmder prompt normally includes version control info, which involves running some potentially expensive commands. The cmder-powerline-prompt project (and maybe other projects) replaces the Cmder prompt and runs the same potentially expensive commands -- so expensive commands get run twice! This change makes it possible for the user and/or other scripts to disable the version control part of the built-in Cmder prompt. https://github.com/chrisant996/cmder-powerline-prompt
This commit is contained in:
4
vendor/cmder_prompt_config.lua.default
vendored
4
vendor/cmder_prompt_config.lua.default
vendored
@ -34,6 +34,10 @@ prompt_singleLine = false
|
||||
-- NOTE: This only takes effect if using Clink v1.2.10 or higher.
|
||||
prompt_overrideGitStatusOptIn = false
|
||||
|
||||
-- OPTIONAL. If true then Cmder includes git, mercurial, and subversion status in the prompt.
|
||||
-- default is true
|
||||
prompt_includeVersionControl = true
|
||||
|
||||
-- Prompt Attributes
|
||||
--
|
||||
-- Colors
|
||||
|
Reference in New Issue
Block a user