4 ms·
Woah, support for inject HTML, etc. sounds very interesting, and seems like a big deal. On another point: I'm increasingly intrigued by the idea of having some
by clicks 13y ago
Woah, support for inject HTML, etc. sounds very interesting, and seems like a big deal.
On another point: I'm increasingly intrigued by the idea of having something like IPython (or perhaps, IPython itself) be used as your command-line shell. Right now it's possible, but in a bit of a long-winded way. I think this is a matter worth looking a little more into.
- chimeracoder 13y ago> Right now it's possible, but in a long-winded way How is it long-winded? Basic operations such as cd, ls, etc., all work inside IPython. Also, try envoy[0] for subprocesses. https://github.com/kennethreitz/envoy https://github.com/kennethreitz/envoy
- clicks 13y agoThose very basic operations work, but it's not feasible yet to use it exclusively as a shell and be able to do anything moderately complex without getting fancy with subprocesses and so on. Though, it's been a while since I used it (2 years) -- have things changed significantly in this time that now make it a good candidate to use as a command-line terminal?
- eoinmurray92 13y agoPrecede any command by "!" and it sends it to bash, you can use git etc. like this.
- clicks 13y agoCool, I didn't know this. However, still I wonder if that's enough. I mean, I can imagine that could get annoying really fast considering ! is a little tough to get to on the keyboard. Maybe a modal switch (a la vim, a mode for full blown shell, a mode with IPython being normal IPython) is a good option. I really hope something like this eventually works out. Command-line shells seem too much like relics of the past, they can stand to be improved with some of the new UI sensibilities. IPython is one thing I can think of that is poised to fit and interact well with shells.
- koloron 13y agoAFAIK any shell command preceded by a "!" works just as you would it expect it to work in your shell.
- pjscott 13y agoLast time I checked, that didn't have proper tab completion, and didn't (by default) support any aliases I might have set up. I rely heavily on both.