Kurtis Rader

Results 691 comments of Kurtis Rader

> Incidentally, while testing it, I discovered that the documentation for order does not match the actual behaviour: If you explicitly give it the option &less-than=$nil, it raises an error....

It turned out to be simpler than I expected to support `order &less-than=$nil`. It did take me a couple of hours to figure out due to unfamiliarity with the Go...

My earlier benchmark results made the `&less-than` option performance appear better than it really is due to a bug in my benchmark. Below are the correct results. Note that, as...

Process groups have nothing to do with it. A shell communicates the CWD to the terminal (and here tmux is acting like a terminal) via an Operating System Command (OSC)...

If you google "osc 7 pwd escape sequence" you'll find some examples of how to use it. Such as https://codeberg.org/dnkl/foot/wiki#shell-integration Note that this is normally done in the prompt.

@aca: You originally referenced [`fish-shell/fish-shell@a2e4869`](https://github.com/fish-shell/fish-shell/commit/a2e486966acbb15b1c666ab22e81f42919b67353). That change actually has nothing to do with `tmux` recognizing the CWD. I suggest carefully reading that issue. 😄 POSIX job-control is a mine field...

Seriously, read https://github.com/fish-shell/fish-shell/issues/7060 which is relevant for this issue. Elvish might need some changes to be compatible with POSIX semantics. But this issue seems like a weak argument for such...

This [tmux issue](https://github.com/tmux/tmux/issues/3098) is relevant. The value of `pane_current_path` is determined automatically by tmux. It looks at */proc/PID/cwd* on Linux. No idea what it does on macOS but it does...

Interesting: `elvish` as a top-level shell launched by the terminal causes `tmux` to correctly set `pane_current_path`, but as a subshell it doesn't. Adding this line to `putSelfInFg()` in *pkg/eval/process_unix.go* fixes...

Interestingly the "fix" in my previous comment caused this failure on my Ubuntu 20.04.4 LTS x86_64 VM: ``` --- FAIL: TestSignal_Ignored (0.19s) shell_unix_test.go:30: want log when getting SIGCHLD to contain...