4 ms·
Why don't we have better shells that give hints on these things? I'm thinking like an IDE will pop up some help text when you begin typing a function name or a
by pbhjpbhj 16y ago
Why don't we have better shells that give hints on these things?
I'm thinking like an IDE will pop up some help text when you begin typing a function name or a recognised special word. Why doesn't the standard sh (bash for me) give me similar help, as I type "ln" it could give me a pop-up with the possible completions and then as I get to "ln -s" it could remind me with "TARGET [NAME] // will create a file named NAME that is a soft link to TARGET, or use TARGET's name if NAME isn't specified". You get the picture.
In a pure text env the help could appear on the next line highlighted appropriately or could be to the right of the cursor or somesuch.
I'm hoping someone will say $CONSOLE does that already ...? Anyone?
- zokier 16y agoIt's mostly for historical reasons. More specifically we have restricted shell as text mode only tool, and intellisense-like features/inline help do not tend themselves neatly to line/character based output. I think that there could be a place for a modern, more graphical orinted command-line interface. In addition to inline help it could display tables more nicely, maybe even allow proportional fonts. And while we are changing stuff, then maybe the object passing idea could be taken from PowerShell.
- xiongchiamiov 16y agoIt could still be text-based if it uses ncurses. For instance, something like bpython: http://bpython-interpreter.org/screenshots/ http://bpython-interpreter.org/screenshots/