Closed livingsilver94 closed 1 year ago
- Why
TERM="dumb"; export TERM
instead of justexport TERM="dumb"
? I thought it's becauseset -x
doesn't print the expanded variable but it does, according to a test.
Because it's easier for the eye to scan for differences that way; otherwise, everything would start with export.
- In the future we may have more flags: Fortran, Rust, Zig and whatnot. IMO it's wise to split the base script into multiple and single-scoped portions.
May want to put this in an issue so we don't forget?
LGTM, thanks!
These are used when compiling cgo packages.
Couple of notes:
TERM="dumb"; export TERM
instead of justexport TERM="dumb"
? I thought it's becauseset -x
doesn't print the expanded variable but it does, according to a test.