Repository navigation
BaoCode Bash 0.3.0: path advice in the prompt, ps1 cases - #1040
Merged
Merged
Conversation
The bash note now says paths print as C:/x and to write them that way (bash and Windows programs both read it), that C:\x and /c/x name the same file, that cygpath converts and PATH="$PATH:/c/tools" adds a folder. test_bash_exe.ps1 checks C:/x output, cygpath, a ":"-appended PATH entry, $PPID, and exec bash / exec env with a #!/usr/bin/env bash script. Co-Authored-By: BaoCode <noreply@baocode.dev>
leolee-code
pushed a commit
to leolee-code/baocode
that referenced
this pull request
Nov 23, 2026
baocode-dev#1040) The bash note now says paths print as C:/x and to write them that way (bash and Windows programs both read it), that C:\x and /c/x name the same file, that cygpath converts and PATH="$PATH:/c/tools" adds a folder. Here tool/test_bash_exe.ps1 is left out: this fork removed it in 40b5705. The BaoCode Bash it carries (third_party/bash-exe) is 0.3.0 already, so the note now says what that build does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 9fd3c71)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For bash-exe 0.3.0 (baocode-dev/bash-exe#5), which prints Windows paths as
C:/x.Shell.baoBashNote: paths print asC:/x; write them that way (bash and Windows programs both read it);C:\xand/c/xname the same file;cygpathconverts;PATH="$PATH:/c/tools"adds a folder.tool/test_bash_exe.ps1:C:/xoutput,cygpath, a:-appendedPATHentry,$PPID,exec bashandexec envwith a#!/usr/bin/env bashscript.The ps1 passes (61 cases) against a 0.3.0 build on a Windows VM; this PR's CI builds bash-exe main.
🤖 Generated with BaoCode