David Refoua
2ce0146d6e
adjust comments
2025-11-09 02:45:06 +03:30
copilot-swe-agent[bot]
5dfa14ccce
Avoid duplicating cmd.exe prompt definition
...
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com >
2025-11-08 22:55:15 +00:00
copilot-swe-agent[bot]
4d259ba84c
Consolidate terminal conditionals and add shell integration for bash and cmd.exe
...
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com >
2025-11-08 22:41:26 +00:00
copilot-swe-agent[bot]
bbd7507b4e
Add OSC 133;D support for command exit code tracking
...
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com >
2025-11-08 22:27:38 +00:00
David Refoua
a8d897f633
adjust comments
2025-11-09 01:49:20 +03:30
David Refoua
304b8c7a05
simplify regex
2025-11-09 01:48:05 +03:30
David Refoua
a0d085f93e
fix line endings
2025-11-08 20:48:07 +03:30
David Refoua
538662ce56
improve documentation
2025-11-08 17:39:50 +03:30
copilot-swe-agent[bot]
88ca59f82e
Add OSC 133 shell integration sequences for Windows Terminal PowerShell support
...
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com >
2025-11-08 13:42:07 +00:00
David Refoua
667820105e
Merge pull request #3021 from chrisant996/fix_3020_hg_prompt_is_slow
...
Fix cmderdev/cmder#3020 ; hg prompt is slow.
2025-11-07 20:22:25 +03:30
David Refoua
6b26f5b9b4
Update vendored windows-terminal
2025-11-07 19:39:19 +03:30
David Refoua
d37d173702
Fix comment formatting in profile.ps1
2025-11-07 19:23:30 +03:30
David Refoua
1f70cfa508
Merge pull request #3026 from cmderdev/copilot/fix-3025
...
Add OSC 9;9 support for PowerShell prompt to enable Windows Terminal directory tracking
2025-11-07 18:38:43 +03:30
DRSDavidSoft
641a3b55fc
⬆️ Update dependencies (windows-terminal v1.23.12811.0)
2025-11-07 15:06:06 +00:00
DRSDavidSoft
b20f084fbc
⬆️ Update dependencies (git-for-windows v2.51.2.windows.1, clink v1.8.8, clink-completions v0.6.6)
2025-11-07 14:59:14 +00:00
Mihai Botezatu
0cbe1e8d8c
Wrap git_locale in quotes
...
Without quoting, the lookup would fail for some characters
2025-11-07 01:03:40 +01:00
David Refoua
6f6c21dcae
add missing prefix
2025-11-06 18:23:10 +03:30
David Refoua
f6bc623284
fix line endings
2025-11-06 18:13:33 +03:30
David Refoua
006567cdbc
fix inconsistencies
2025-11-06 18:07:13 +03:30
David Refoua
e7f102bdee
avoid temp filename collisions
2025-11-06 17:09:40 +03:30
David Refoua
a7c0e0642d
implement fix suggested in https://github.com/cmderdev/cmder/issues/2990#issuecomment-3496143288
2025-11-06 16:59:58 +03:30
copilot-swe-agent[bot]
08ce81609a
Add OSC 9;9 support for PowerShell prompt to enable Windows Terminal directory tracking
...
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com >
2025-09-16 10:52:13 +00:00
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
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
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
Stan West
b56a6d43cb
Use single quotes inside double quotes
2024-07-26 20:24:12 -04:00
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
Dax T. Games
2135fce19f
revert git update to not include a release candidate
2023-11-11 09:12:30 -08:00
DRSDavidSoft
8498447878
⬆️ Update dependencies (git-for-windows v2.43.0-rc0.windows.1, clink v1.5.12)
2023-11-03 13:40:42 +00:00