3 ms·
> I also remap tab completion to cycle through all matches instead of stopping at the first ambiguous character Windows PowerShell does this and I love it. I d
by colejohnson66 7y ago
> I also remap tab completion to cycle through all matches instead of stopping at the first ambiguous character
Windows PowerShell does this and I love it. I don’t understand why people wouldn’t want this
- wruza 7y agoBecause instead of helping me enter a long filename by its distinctive parts, it forces flat mental read-decide-skip loop based on first few letters, which is slow and cannot be narrowed down without typing out additional letters by hand. It is like selecting from a popup menu through a 1-line window. If it presented a real popup for file selection, combining both worlds (tab to longest match, untab to undo, up-down to navigate), that would be great. But it doesn’t.
- nathanwh 7y agoFor anyone who isn’t already aware, fzf[0] does this exactly (and more!) https://github.com/junegunn/fzf https://github.com/junegunn/fzf
- wtallis 7y ago> which is slow and cannot be narrowed down without typing out additional letters by hand. In a PowerShell environment specifically, you usually end up having to backspace a dozen or more characters completed from a long command name before you can resume narrowing the search. It's less of a problem on a Unix shell where commands tend to be short.
- RHSeeger 7y agoInterestingly, that's one of the things I hate about powershell (and dos)
- skocznymroczny 7y agozsh works like that too.