3 ms·
> I think there should be a better bash with an very clean and consistent interface. Absolutely! Some work should be put into making it way more intuitive. Hav
by Closi 6y ago
> I think there should be a better bash with an very clean and consistent interface.
Absolutely! Some work should be put into making it way more intuitive. Having to remember what every flag means (which is different in every app!) is not intuitive at all.
By default there should be some sort of intelisense auto-complete which can also provide guidance on what on earth all the flags mean, and maybe eventually it could tell you what it expects to do before you run the command. For most users otherwise it ends up being "paste in this command you googled with a load of random flags you don't understand and won't remember"
- dafoex 6y agoJust suggested it in another comment, but Fish might be similar to what you describe. It has tab-completable flags that it gets from the manpages, and remembers and suggests previously run commands which might be close to the auto-complete you're after.
- Closi 6y agoFish is better, but it still only gets 1/10th of the way. Why does terminal have to look like terminal? Like why is the 1980's ASCII telnet style the only way to do this? The ASCII fish image on boot and fully ASCII menus only reinforces again that this isn't a modern interface, its an improved 1980's interface. Why, for example, can autocomplete not look like this? https://code.visualstudio.com/docs/editor/intellisense https://code.visualstudio.com/docs/editor/intellisense Why do progress bars when you are downloading from pip not look something like this? (still in-line with the terminal like a sparkline) https://docs.microsoft.com/en-us/windows/win32/uxguide/progress-bars https://docs.microsoft.com/en-us/windows/win32/uxguide/progr... Like surely everything doesn't have to be SO 1980's if we want shell to stay relevant.
- southpawflo 6y agobecause then your shell will be slower than a snail. for real though, after looking at your examples I feel that features like those would fall on your terminal emulator to bring to the table, not the shell itself. specifically, I don't want to imagine trying to connect to a headless server during some crisis over bad wifi and have the shell think it needs to send a bunch of graphics to me.
- mschrage 6y agoThis is exactly what I’ve been working on with Fig. Intellisense exists in every modern IDE but not the shell. https://github.com/withfig/autocomplete https://github.com/withfig/autocomplete