4 ms·
> With Fish I never have to ask you again. I just remember part of it, and suddenly I've got it. Are you referring to something other than cycling through hist
by manaskarekar 7y ago
> With Fish I never have to ask you again. I just remember part of it, and suddenly I've got it.
Are you referring to something other than cycling through history?
In bash, hit `Ctrl+R`, then type whatever part of the command to cycle through history.
You may choose to adjust the size of the history file in `.bashrc` as needed.
A good reference: https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps https://www.digitalocean.com/community/tutorials/how-to-use-...
- toxik 7y agoFish autocompletes history
- AnthonBerg 7y agoThe Fish interface for this is much more convenient and elegant and ergonomic.
- deleted 7y ago[deleted]
- dickeytk 7y agoyeah agreed. If you have trouble understanding how it could be better just install fish and try it for 5 minutes and you'll see what we mean. There are attempts to emulate some of it in zsh, but it's still not as good as what fish comes with out of the box. [1] https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-autosuggestions [2] https://github.com/zsh-users/zsh-history-substring-search https://github.com/zsh-users/zsh-history-substring-search
- enriquto 7y agooh my god, i tried it and my terminal turned into a christmas tree! How can people actually work with such kitsch colors?
- AnthonBerg 7y agoBecause we are able to extract useful information from colorized output, being as it is an extra dimension of information output; I for one don't get an urge to pass a sort of of societal judgement of the high/low artistic worth of the use of color which may further increase efficiency. ¯\_(ツ)_/¯
- enriquto 7y agoColor is indeed very useful for terminals. But it seems to me that fish takes the use of color to an exaggerated, very unpleasant, extreme. It feels overwhelming to my senses. Like having blinking text here and there. It fills the whole screen with a mix of normal and reverse text in several colors, just for simple stuff like completing an argument.
- AnthonBerg 7y agoThat's actually very interesting :) I personally love it and find it perfect. Concretely useful. I hope there's a way to tune it down.
- bobbylarrybobby 7y agoYou can customize the colors with fish_config
- enriquto 7y agoi've seen it, and it is indeed easy to tone the coloring down. The fish shell completion is amazing, I love it! Too bad the shell does not seem to support process substitution (at least not with the same syntax as bash or zsh), so I cannot use it for the moment.
- lain 7y agoWith bash, I like to put this in my `.inputrc`, so I can start typing a command, and use the up and down arrow keys to autocomplete: "\e[A": history-search-backward "\e[B": history-search-forward