Re:Fish: A command line shell for the 90s
by AnthonBerg on Saturday October 26, 2019 @10:52AM
(#21364020)
The Fish interface for this is much more convenient and elegant and ergonomic.
Re:Fish: A command line shell for the 90s
by dickeytk on Saturday October 26, 2019 @11:33AM
(#21364257)
yeah 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
[2] https://github.com/zsh-users/zsh-history-substring-search
Re:Fish: A command line shell for the 90s
by enriquto on Saturday October 26, 2019 @12:24PM
(#21364574)
oh my god, i tried it and my terminal turned into a christmas tree! How can people actually work with such kitsch colors?
Re:Fish: A command line shell for the 90s
by AnthonBerg on Saturday October 26, 2019 @12:43PM
(#21364696)
Because 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. ¯\_(ツ)_/¯
Re:Fish: A command line shell for the 90s
by enriquto on Saturday October 26, 2019 @12:48PM
(#21364719)
Color 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.
Re:Fish: A command line shell for the 90s
by AnthonBerg on Saturday October 26, 2019 @12:54PM
(#21364749)
That's actually very interesting :) I personally love it and find it perfect. Concretely useful. I hope there's a way to tune it down.
Re:Fish: A command line shell for the 90s
by bobbylarrybobby on Sunday October 27, 2019 @01:28PM
(#21371096)
You can customize the colors with fish_config
Re:Fish: A command line shell for the 90s
by enriquto on Sunday October 27, 2019 @04:31PM
(#21372192)
i'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.
With 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
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-...