Chris Antos
173b86fbc8
Fix another pre-existing bug in the hg prompt.
...
If the hg program is not found, then there used to be a Lua script
error. I fixed that in the earlier commit in this PR. But the fix
was incomplete, and the hg prompt still appended " ()" instead of
not appending anything (which is how the svn prompt behaves when
the svn program is not found).
2025-09-14 10:34:23 -07:00
Chris Antos
8ec4789e35
Fix cmderdev/cmder#3020 ; hg prompt is slow.
...
Cmder's hg prompt didn't use async prompt filtering yet.
Cmder's svn prompt only used async prompt filtering if a special config
variable was set (the commit which contributed it seems to have
misunderstood the git config settings for the git async prompt).
This commit makes the following changes:
1. Adds async prompt filtering for hg.
2. Makes async prompt filtering for svn the default.
3. Removes the prompt_overrideSvnStatusOptIn variable.
4. Fixes a bug where any errors during `svn status` in the svn prompt
accidentally show up in the terminal.
5. Fixes a bug where any errors during `hg branch` in the hg prompt
turn into Lua errors.
6. Simplifies the code for colors in the hg and svn prompts.
7. Clean up the svn prompt code and make it consistent with the git
and hg prompt code.
2025-09-04 10:41:08 -07:00
David Refoua
43ab19a74d
Bump actions/checkout from 4 to 5
2025-08-12 05:55:35 +03:30
dependabot[bot]
c7116bd533
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-11 19:56:14 +00:00
David Refoua
05552dc51c
added a comment
2025-07-16 04:18:03 +03:30
David Refoua
c6bfd6f276
Minor refactors to Git status and branch functions in git-prompt.sh
...
- `getGitStatusSetting`: use local variables, improve regex pattern, use return status codes instead of echo strings
- `getSimpleGitBranch`: better error handling, use local variables
- Simplified conditional checks
2025-07-16 04:16:47 +03:30
David Refoua
1d51c4f402
make bash prompt more consistent;
...
* display λ in grey and bold
* fix a bug where an uneeded colon would be prepended to the tab title (when MSYSTEM is unset)
2025-07-15 21:02:12 +03:30
David Refoua
aff4ad259f
fix color values and names mismatch in comments
2025-07-15 20:25:59 +03:30
David Refoua
cb76868411
Import from upstream git-prompt.sh: user-specific bash completion scripts
...
Source: 061dbfe92b
2025-07-15 19:29:16 +03:30
David Refoua
abcb1a1aa1
display MSYSTEM if set; fix indentation; add comment
2025-07-15 19:26:49 +03:30
David Refoua
93785426a6
Bump peter-evans/create-pull-request from 6 to 7
...
Hopefully, there won't be breaking changes
2025-04-08 13:34:23 +03:30
David Refoua
00763846a2
Updates to 3 vendored dependencies
2025-04-08 12:47:31 +03:30
DRSDavidSoft
1737bcdeb7
⬆️ Update dependencies (git-for-windows v2.49.0.windows.1, clink v1.7.14, clink-completions v0.6.2)
2025-04-03 13:43:06 +00:00
David Refoua
126347025f
cleanup
2024-11-14 00:01:29 +03:30
David Refoua
7ceacb63dd
respect PATHEXT instead of hardcoding our own value
...
* support other path extensions as well (e.g. `.py` commonly used)
2024-11-14 00:00:53 +03:30
David Refoua
510178852d
add missing qualified dir
...
https://github.com/cmderdev/cmder/pull/1961
2024-11-13 23:58:11 +03:30
David Refoua
4d15730d05
cleanup
2024-11-13 23:14:49 +03:30
David Refoua
25ccfeed77
prevent warnings if the dir does not exist
...
https://github.com/cmderdev/cmder/issues/121#issuecomment-654171568
2024-11-13 23:08:13 +03:30
David Refoua
42315d8cec
enable /d flag in excd by default
2024-10-18 03:18:17 +03:30
David Refoua
c6dbb89129
Merge branch 'master' of https://github.com/cmderdev/cmder
2024-10-17 20:00:32 +03:30
David Refoua
1cfba25beb
fix conflict
2024-10-17 20:00:21 +03:30
David Refoua
2007baef6e
Updates to 3 vendored dependencies
2024-10-17 19:52:36 +03:30
David Refoua
e220d114b2
add notes on what shim actually is
2024-10-17 19:43:14 +03:30
DRSDavidSoft
4204faa063
⬆️ Update dependencies (git-for-windows v2.47.0.windows.1, clink v1.7.3, clink-completions v0.6.0)
2024-10-16 13:42:04 +00:00
David Refoua
540532f126
make library comments consistent and clean up code
2024-10-14 14:40:21 +03:30
dependabot[bot]
41195ad8dd
Bump peter-evans/create-pull-request from 6 to 7
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-09 15:58:11 +00:00
David Refoua
28f6098d48
Merge pull request #2959 from stanwest/cmd-double-quotes
...
In "lib_git.cmd", use single quotes inside double quotes
2024-07-27 21:04:15 +03:30
Stan West
b56a6d43cb
Use single quotes inside double quotes
2024-07-26 20:24:12 -04:00
David Refoua
d2f7136ef8
modify the header to remove outdated mention
2024-06-06 13:34:55 +03:30
David Refoua
4daff054eb
Fix #2944
v1.3.25
2024-05-31 18:36:31 +03:30
DRSDavidSoft
45fd0c2666
⬆️ Update dependencies (git-for-windows v2.45.1.windows.1, clink v1.6.14, clink-completions v0.5.2)
2024-05-29 13:40:37 +00:00
David Refoua
5145a15139
display git improper version string as debug
2024-05-28 17:19:47 +03:30
David Refoua
92419a48fc
log the executable path for improper git
2024-05-23 21:59:16 +03:30
David Refoua
c9b77f618a
enable match.expand_envvars
...
This is part of the "Enhanced default settings" by Clink and a very useful feature
2024-05-20 10:57:51 +03:30
David Refoua
a2e4884ea1
Merge pull request #2926 from cmderdev/dependabot/github_actions/softprops/action-gh-release-2
...
Bump softprops/action-gh-release from 1 to 2
2024-04-26 17:09:24 +03:30
Dax T Games
62a46140eb
Merge pull request #2932 from loselarry/master
...
fix: fix some typos in comments
2024-04-10 08:01:16 -04:00
loselarry
ae518cded8
fix: fix some typos in comments
...
Signed-off-by: loselarry <bikangning@yeah.net >
2024-04-10 16:39:46 +08:00
dependabot[bot]
4ad76d8274
Bump softprops/action-gh-release from 1 to 2
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-11 15:59:16 +00:00
dependabot[bot]
8a199bf47b
Bump microsoft/setup-msbuild from 1 to 2 ( #2917 )
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 1 to 2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 19:43:29 +00:00
dependabot[bot]
457d99da0b
Bump peter-evans/create-pull-request from 5 to 6 ( #2918 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 19:43:13 +00:00
dependabot[bot]
52762636dc
Bump actions/upload-artifact from 3 to 4 ( #2905 )
2024-01-03 00:54:57 +00:00
Dax T Games
ed6c9b2bc9
Merge pull request #2907 from daxgames/development_ci
...
Do CI on development PRs
2024-01-02 14:14:15 -05:00
Dax T. Games
7753622897
Do CI on development PRs
2024-01-02 12:04:31 -05:00
dependabot[bot]
18950135ef
Bump github/codeql-action from 2 to 3 ( #2906 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 10:31:41 +00:00
Dax T Games
b59647b570
Merge pull request #2892 from daxgames/revert_git_update
...
Revert Git update so not to include a release Candidate
2023-11-11 09:18:48 -08:00
Dax T. Games
2135fce19f
revert git update to not include a release candidate
2023-11-11 09:12:30 -08:00
Dax T. Games
219c879582
Merge remote-tracking branch 'upstream/master'
2023-11-10 17:00:16 -08:00
Dax T. Games
289bcf03a5
Merge remote-tracking branch 'upstream/development'
2023-11-10 16:59:35 -08:00
David Refoua
50bc05fee7
Merge pull request #2891 from daxgames/rem_race
...
Remove Cmder.exe race condition
2023-11-09 17:11:42 +03:30
Dax T. Games
8d916a4446
remove env refresh race condition
2023-11-09 04:58:26 -08:00