Andrew Bradley
Andrew Bradley
Discussed here: https://github.com/casey/just/issues/2260#issuecomment-2741516734 I did my best to copy coding conventions from `windows-shell`, but I'm not a rust expert. Worth noting that, although this does solve my use-case -- pointing...
_Subtly different from #2826_ Reproduced on just 1.43.0. The built-in `which()` and `require()` commands fails to find executables on Windows because they do not follow Windows conventions for executable lookup:...
When running a CLI in certain environments -- over an ssh connection, say -- the bytes of a keycode may not be read in a single call to `stdin.read()`; they...
Add `await delay(1000)` to `examples/keycode.ts` to simulate a source of lag in a TUI program. Press "Escape" then "[" keys in under a second. keycode() interprets this as a "left"...
PSFzf uses fzf to power tab-completion menus in PowerShell. Tab completions in PowerShell are rich objects generated in-memory with a few fields: `CompletionText`, `ListItemText`, `ResultType`, `ToolTip` `ToolTip` often contains useful...
`busybox.exe sh` is the `ash` shell on Windows. It uses native windows paths -- `G:\foo\bar` or `G:/foo/bar` -- so it doesn't need nor provide cygpath. Is it reasonable for `zoxide...
Respects `_ZO_RESOLVE_SYMLINKS` the same on Windows as it already does on Linux. Fixes #1147 Checks for the presence of `cygpath` and skips if it's not present. This supports non-Cygwin shells...
The logic here ignores the value of `_ZO_RESOLVE_SYMLINKS` on Windows, but Windows can have symlinks. https://github.com/ajeetdsouza/zoxide/blob/ecf72c9cfdc0c8f04ac1e2953bb3703ea6805e05/templates/posix.txt#L10-L19 Here is a reproducible example from my busybox.exe (ash) shell: ```bash # Create directory...
`Get-Module -ListAvailable PSReadline` slows module startup time. A couple options to make it faster: - Assume `Get-PSReadlineKeyHandler` and `Set-PSReadlineKeyHandler` are available, catch errors and check if the error is `$_.CategoryInfo.Reason...
Would be nice to see CompletionMatches' `.ToolTip`s in the fzf `--preview-window`. Here's how I think this could work: - get array of completions - Generate JSON object: keys == CompletionText,...