3 ms·
Love fish, especially because of the easy configuration and out of the box features. No need for complicated frameworks or curated dotfiles. There are two synta
by themistocle 9y ago
Love fish, especially because of the easy configuration and out of the box features. No need for complicated frameworks or curated dotfiles. There are two syntax changes I’d love to see:
1. Support for last command by !!, as in `sudo !!`.
2. Ability to search history from a partial command like `git checkout`, where up arrow would step backward from the present.
I wish all my tools were as friendly as fish!
- faho 9y ago>2. Ability to search history from a partial command like `git checkout`, where up arrow would step backward from the present. We have that feature, and it's enabled by default. Just type the partial commandline and press up-arrow. Or do you mean something slightly different?
- themistocle 9y agoThat's true. Sorry for my poorly-worded English. For a small example: $ ls -la foo $ ls -la bar $ ls -la / When I type `ls -l` and hit the up arrow, my first result is `ls -la bar` not `ls -la /`. This is a small problem but sometimes annoying, especially after using other shells that work differently.
- faho 9y agoIn this case, what most likely happens is that the first result is offered as the suggestion - i.e. the greyed-out part in the commandline. To accept that, press right-arrow (with the default bindings, of course).
- themistocle 9y agoThanks for the suggestion.