3 ms·
Bro, just use fish shell. They have done all the heavy lifting for you.
by eating555 2y ago
Bro, just use fish shell. They have done all the heavy lifting for you.
- WD-42 2y agoExactly. Lots of work to do what fish does out of the box.
- soraminazuki 2y agoI just ran fish, and pressing ctrl-r did exactly what the author sought to fix. > What does 5408 mean and why is it taking up valuable screen space?
- WD-42 2y agoI don’t think anyone that uses fish uses ctrl+r. You just start typing and you get (directory aware) history based completions.
- misnome 2y agoSo you have to remember the directory you were in when you ran a one-off task six months ago?
- soraminazuki 2y agofish suggests commands as you type, shown as faded text after the cursor. But suggestions aren't replacements for history search. Only one suggestion is shown at a time, and you don't have much control over what is shown. It's popular though, so it's also available in zsh through the autosuggestions plugin.
- misnome 2y agoRight, but OP was suggesting that fish didn’t need history search because of.
- petepete 2y agoI use fish with one plugin - fzf.fish. It's invaluable to me and the shortcuts are second nature now. It prefixes each line with a timestamp rather than a number, which makes most sense to me. https://github.com/PatrickF1/fzf.fish?tab=readme-ov-file#-search-history https://github.com/PatrickF1/fzf.fish?tab=readme-ov-file#-se...
- kccqzy 2y agoThe fish version of history search doesn't just do a simple substring search like in bash. It's already more powerful by doing a subsequence search. See https://github.com/fish-shell/fish-shell/pull/9476 https://github.com/fish-shell/fish-shell/pull/9476
- vips7L 2y agoPowershell too.