Commit Graph

1756 Commits

Author SHA1 Message Date
dgames
f717f5031b update clink to 1.2.24 2021-08-07 03:30:40 -04:00
dgames
710cc3ecc3 update clink to 1.2.24 2021-08-07 03:27:13 -04:00
dgames
0fc6b6571e update clink to 1.2.24 2021-08-07 03:25:34 -04:00
dgames
48f50568b0 update conemu and clink 2021-07-23 23:09:24 -04:00
Benjamin Staneck
b8760e4d04
Merge pull request #2556 from chrisant996/clink-async-prompt 2021-07-18 09:58:41 +02:00
Rémi Benoit
ae7209f254 Update clink to 1.2.22 2021-07-18 09:57:12 +02:00
Rémi Benoit
9d4da63184 Update clink to 1.2.20 2021-07-18 09:57:12 +02:00
Dax T Games
62a6311b6d
Merge pull request #2549 from ian-craig/status-branchonly
Show branch name when cmder.status=false without expensive status ops
2021-07-17 14:10:21 -04:00
Abhishek Aryan
b40510f3a0
Merge branch 'master' into env-fix-again 2021-06-27 17:51:04 +03:00
Chris Antos
e7a6e64473 Rewrote how prompt_overrideGitStatusOptIn works.
It was less clear before, and it also accidentally took effect when
the `prompt.async` Clink setting was off.
2021-06-12 18:56:37 -07:00
Chris Antos
f6c2657b23 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
2021-06-11 01:01:35 -07:00
Chris Antos
91aabe75af Add prompt config variable for async git prompt.
Setting `prompt_overrideGitStatusOptIn = true` will override the
`cmder.status` and `cmder.cmdstatus` git config settings and run the git
prompt status commands in the background.  But it only takes effect when
using Clink v1.2.10, since that's required in order to run prompt update
commands in the background.
2021-06-10 18:49:39 -07:00
Dax T Games
946f929eaf
Merge pull request #2559 from daxgames/docs
Docs
2021-06-10 20:25:52 -04:00
dgames
8a870c093a Merge branch 'master' into docs 2021-06-10 20:23:39 -04:00
dgames
bfe526604d revert 2021-06-10 20:21:43 -04:00
dgames
79e505acf8 Merge branch 'master' of https://github.com/cmderdev/cmder 2021-06-10 20:20:22 -04:00
dgames
9a2e22cb6d Merge branch 'master' of https://github.com/cmderdev/cmder into docs 2021-06-10 20:14:56 -04:00
dgames
b2add2b966 prompt config docs 2021-06-10 20:12:47 -04:00
Ian Craig
74202a8719
Merge pull request #1 from daxgames/status-branchonly-dax
Status branchonly dax
2021-06-05 14:26:34 -07:00
Chris Antos
5305ebd4a6 Use Clink async prompt filtering for git.
`git status` and `git diff` can be slow in large repos.  Clink v1.2.10
and higher support using Lua coroutines to do expensive parts of prompt
filtering in the background.  When the expensive parts complete, the
prompt gets refreshed.

This means even large repos can have fast prompts PLUS git status all
the time!

This change should be backward/forward compatible with both older and
newer versions of Clink (of course only newer versions will gain the
benefit).
2021-05-31 21:29:19 -07:00
Chris Antos
4e22ad93f4
Merge pull request #2 from daxgames/status-branchonly-dax
Status branchonly dax
2021-05-31 20:40:41 -07:00
Chris Antos
6730f864b1
Merge pull request #1 from ian-craig/status-branchonly
Status branchonly
2021-05-31 20:38:23 -07:00
dgames
56b04fc9ce fix unknown color and code dedup 2021-05-31 10:53:18 -04:00
dgames
55ff611095 fix default unknown color 2021-05-30 08:56:44 -04:00
dgames
aebe37bd28 fix default unknown color 2021-05-30 08:56:05 -04:00
dgames
413fb2f1ac remove xxx 2021-05-30 08:46:37 -04:00
dgames
73ad62eaa2 add xxx 2021-05-30 08:46:08 -04:00
dgames
4fab4cc6e4 make unknown color white for all shells 2021-05-30 08:41:40 -04:00
dgames
a41fad80d5 Merge branch 'status-branchonly' into status-branchonly-dax 2021-05-30 07:56:01 -04:00
dgames
c9acb13d0b Fix cmder no status prompt 2021-05-30 07:50:48 -04:00
dgames
03d0f913ea fixing branch only 2021-05-30 07:27:16 -04:00
Ian Craig
a5c98d4fe9 Add simple branch name gen for sh and ps1 2021-05-25 21:03:28 -07:00
Ian Craig
9df8f1a92a Revert to boolean, keep branch name when status=false 2021-05-25 17:53:41 -07:00
Ian Craig
c262934822 Add branchonly option to cmdstatus 2021-05-20 17:53:05 -07:00
Abhishek Aryan
f1665ddd7d
Fix no env in the prompt string
Yeah, I was surprised too..
2021-05-10 18:47:17 +03:00
Dax T Games
36f4ce0e3c
Merge pull request #2538 from daxgames/fix_configurable_prompt
Fix configurable prompt
2021-05-02 22:47:11 -04:00
Dax T. Games
59941f5dfa cleanup 2021-05-02 21:05:58 -04:00
Dax T. Games
6d79ed5eb2 Merge branch 'master' of https://github.com/cmderdev/cmder into fix_configurable_prompt 2021-05-02 21:04:23 -04:00
Dax T Games
99a7445fcb
Merge pull request #2537 from Lunchb0ne/fix-env-weirdness
Fix env symbol being repeated when using a program that sets/modifies the env
2021-05-02 21:01:37 -04:00
Dax T. Games
d6b5fe8e1d CHANGELOG 2021-05-02 20:56:17 -04:00
Dax T. Games
11fb1b3a50 do not rely on config\cmder_prompt_config.lua 2021-05-02 20:56:02 -04:00
Dax T. Games
810a3da955 upgrade to clink 1.2.5 2021-05-02 20:54:52 -04:00
Abhishek Aryan
e8df3ef247
Refactor the env substution logic
And some prompt cleanup
2021-05-02 21:53:22 +03:00
Dax T Games
8d6ce3e4ac
Merge pull request #2523 from daxgames/prompt_config
Prompt config
2021-04-15 08:27:05 -04:00
Dax T. Games
9793ca1ed9 update git for windows 2021-04-15 08:17:07 -04:00
Dax T. Games
d9b2c729f9 replace :: with rem 2021-04-15 07:54:39 -04:00
Dax T. Games
8fa351810a CHANGELG.md 2021-04-11 18:54:26 -04:00
Dax T. Games
3752b95218 CHANGELG.md 2021-04-11 18:52:59 -04:00
Dax T. Games
e0cb86d738 parametrized status colors 2021-04-11 18:42:43 -04:00
Dax T. Games
0ef76ee2d3 add configurable prompt 2021-04-11 18:28:43 -04:00