Now that my head is back on the right direction, I'm trying out xonsh as my default shell instead of bash. It's really interesting. Anybody else tried it?
xon.sh
Now that my head is back on the right direction, I'm trying out xonsh as my default shell instead of bash. It's really interesting. Anybody else tried it?
xon.sh
@mike
I've read about xon, and I don't get the appeal. The first page criticises bash, saying "I am not even sure I know how to add two numbers together in [bash] or consistently create an array." Those don't seem like things you do in your shell, though?
I mean, sure, you might do that in a shell *script*, and python might be a better language for scripting. (Though I like bash). But why make the scripting language the shell? Bash can still call python scripts.
Am I missing something?
For me the shell should be quick. It should have good completion, easy history, and globbing. All this is great in zsh.
I have never written a shell script in zsh. But for my fault needs nothing can beat it, IMHO.
The only thing that might come close is fish, but the difference between it and zsh is too small for me to bother.
A python shell sounds like a solution looking for a problem. But, to each his own. If you like it, and it helps you get stuff done, đ đ
Yeah, agreed on all pointsâespecially the last. If you're someone who lives python (or who wants to learn) and this shell is more comfortable, then by all means go for it. But (unless I'm missing somethingâalways a possibility) this doesn't seem like it solves any particular problems I've encountered. Like you, I use #zsh as my shell without ever writing a script in in (though I've written plenty of both bash any python scripts).
Interesting. I wouldn't say that I live in the shellârather, I live in the *terminal*. I use zsh commands a lot, of course, but I also write bash, python, or javascript scripts frequently; I don't feel the need to link everything together.
I wonder if some of this comes from a developer vs. sysadmin use cases. I write a fair bit of bashâincluding #passgen, my most developed #foss project so farâbut I don't think I've every written an *inline* script.
Interesting perspective!