Commit Graph

846 Commits

Author SHA1 Message Date
DRSDavidSoft
09ab2f25d8 Merge branch 'master' into development 2025-11-08 13:55:51 +00:00
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
85c0824553 merge with master 2025-11-07 20:28:22 +03:30
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
DRSDavidSoft
a0a5b2ceab Merge branch 'master' into development 2025-11-07 15:53:37 +00:00
David Refoua
d37d173702 Fix comment formatting in profile.ps1 2025-11-07 19:23:30 +03:30
DRSDavidSoft
71b648f065 Merge branch 'master' into development 2025-11-07 15:08:51 +00:00
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
f6bf29dff6 Merge branch 'master' into development 2025-11-07 15:01:19 +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
David Refoua
74b3f18c53 Merge pull request #3037 from mbotezatu/master
Wrap git_locale in quotes
2025-11-07 17:30:58 +03:30
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
76711b43b4 improve consistency 2025-11-06 18:47:25 +03:30
DRSDavidSoft
f9a4b0d9fc Merge branch 'master' into development 2025-11-06 14:53:33 +00:00
David Refoua
6f6c21dcae add missing prefix 2025-11-06 18:23:10 +03:30
DRSDavidSoft
2f148fb36a Merge branch 'master' into development 2025-11-06 14:43:48 +00:00
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
d45651f805 Merge branch 'master' of https://github.com/cmderdev/cmder into development 2025-11-06 17:37:49 +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
bb14aeace5 merge with master 2025-07-15 20:37:45 +03:30
David Refoua
aff4ad259f fix color values and names mismatch in comments 2025-07-15 20:25:59 +03:30
David Refoua
76c5b9e116 resolve conflicts 2025-07-15 19:31:41 +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
e3fc1a122d Merge branch 'master' into development 2025-04-08 09:17:41 +00:00
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
Dax T. Games
d349f57e78 add executionpolicy bypass 2025-01-05 20:19:40 -05:00
Dax T Games
980083fb8c Merge pull request #23 from daxgames/more_speed_2
Optimizations for improving speed
2025-01-05 12:15:45 -05:00
David Refoua
b140db4617 Merge branch 'development' of https://github.com/cmderdev/cmder into development 2024-11-14 00:13:38 +03:30
David Refoua
d15e7ac69f cleanup 2024-11-14 00:08:31 +03:30
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
DRSDavidSoft
cc40343157 Merge branch 'master' into development 2024-11-13 19:38:51 +00:00
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
DRSDavidSoft
940cadc526 Merge branch 'master' into development 2024-10-17 23:48:28 +00:00
David Refoua
42315d8cec enable /d flag in excd by default 2024-10-18 03:18:17 +03:30
David Refoua
9b466e3963 merge changes from master 2024-10-17 20:03:45 +03:30
David Refoua
c6dbb89129 Merge branch 'master' of https://github.com/cmderdev/cmder 2024-10-17 20:00:32 +03:30