Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`

2024-09-20 Thread shynur .
> Do these editors have an option that sets the language for syntax > checking? I don't know. I usually use Emacs, so I'm only familiar with Emacs. For Emacs, yes, and I've already submitted a patch to address this issue to the Emacs mailing list. But clearly, not all editors are as highly custo

Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`

2024-09-20 Thread shynur .
Oğuz: > > shynur: > > > > Oğuz: > > > > > > shynur: > > > > > > > > "bash-fc.Esf9by", which seldom benefits from editors > > > > that use *suffixes* to infer what syntax highlighting > > > > should b

Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`

2024-09-20 Thread shynur .
- When Emacs opens a file named "bash-fc.NN.bash", it'll enable sh-mode automatically, and even start a LSP server for Bash if configured properly. - VS Code behaves similarly. If you've never used a code editor with automatic syntax highlighting, give them a try.

[feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`

2024-09-19 Thread shynur .
`fc` will create a temporary file named something like "bash-fc.Esf9by", which seldom benefits from editors that use *suffixes* to infer what syntax highlighting should be enabled. (This improvement may not only apply to `fc`.) -- shynur

Why does case-pattern undergo "process substitution"?

2024-08-23 Thread shynur .
x27;... Can anyone give me a practical example? Thanks in advance! -- shynur

Re: please make the commit log clean

2024-08-20 Thread shynur .
> ... but that would increase the "build toolset" that > everyone would have to install ... This doesn't make much sense unless every other program is built the same way. (A stark counterexample is Emacs.) IOW, that wouldn't increase the "build toolset" much because there probably be

please make the commit log clean

2024-08-18 Thread shynur .
king it much harder for future maintainers to understand and manage the repository. -- shynur

Should Use Straight Single Quote instead of Curved

2023-05-06 Thread Shynur Xie
Should Use Straight Single Quote instead of Curved View this page in browser: > Character sequences of the form $’string’ are treated as a special > kind of single quotes. should be > Character sequences of the form $'string' are treated as a special > kind of single quotes. -- shynur