Qi Xiao

Results 250 comments of Qi Xiao

Implementing a POSIX shell is not easy, but I also feel that its difficulty has been somewhat overestimated, probably due to the fact that the codebases of the traditional POSIX-ish...

Let's not overthink this. To start with, let's define some non-goals: * Replace existing shells' role as a standalone script interpreter. It's perfectly fine to run `sh some.sh` or `bash...

> I've seen nothing to suggest it is 100% (or anything close to it) compatible with bash. Hmm, my impression is wrong then - so fully emulating Bash is quite...

@krader1961 Oh yeah, I definitely didn't mean that Elvish should source .bashrc at startup, but rather, it should *be able to* make a best-effort attempt of sourcing .bashrc when explicitly...

This is fine - the vi mode is kind of "experimental" anyway and the other keybindings in it aren't tested either.

The FreeBSD CI runner on CirrusCI is somewhat more flaky than GitHub CI.

This is a fine feature by itself. I'm not a fan of YAML, but supporting YAML in Elvish is a good idea since YAML is already used in quite a...

Yes ideally this should be a feature of the editor not the language itself. However, implicit cd is a feature that is hard to separate from the language. What do...

@krader1961 > That's preferable to the current behavior but I'm not sure it's worth saving one to three keystrokes. Especially since it doesn't support tab completion. That is a good...

Current design (copied from dup #1407): Readonly variables can be created with `val`: ``` val a = foo ``` Attempts to set readonly variables raise compilation errors.