tuterm-collection
xonsh
tuterm-collection | xonsh | |
---|---|---|
2 | 125 | |
2 | 8,902 | |
- | 0.9% | |
0.0 | 9.4 | |
over 2 years ago | 5 days ago | |
Dockerfile | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tuterm-collection
-
A new way to learn and teach CLI programs
The tar tutorial is finished. You can download it from here. When you download it, you can run it like this: tuterm ./tar. I recommend you use the latest version of tuterm, because I've added more features since the last time.
xonsh
- Ask HN: What are your current programming pet peeves?
-
Take Two: Eshell
I like the point raised by the author here about the power of elisp in the shell. For context, I've used emacs for well over a decade and write a good bit of elisp most weeks. However, I ended up finding elisp to be the wrong language for replacing a shell: it removes a lot of capabilities for not enough reward, imo: it's just the wrong abstraction because elisp's most natural transformations are very stateful and buffer based, and, additionally, it really doesn't provide that much expanded capability in the end (and this is despite the fact that I'm one of those people who would absolutely never leave my emacs environment even for web browsing if I could feasibly make it work consistently for the kinds of things I need).
However, despite disliking python, I found https://xon.sh/ to be really excellent and provides a lot of the benefits of eshell, but better, in my humble opinion: it has a well-enough structured base language that is essentially already built to be a library glue-code language, which works really well with the unix philosophy that traditional shells utilize (a good library is just a tool that does a thing really well).
-
Advanced Shell Scripting with Bash (2006) [pdf]
(Not sure about the equivalent of shlex.quote, but in the worst case, you can just use "from shlex import quote as q" or something).
So yes, there are good alternatives to bash - even Python based.
[0] https://xon.sh/
- Xonsh – A Python-Powered Shell
- Python Is the New Basic
-
Fish 4.0: The Fish of Theseus
Also, do consider xonsh.[1]
It's a Bash-like shell written in Python. It has significant overlap with the awesomeness of fish, and has the advantage of being able to write your shell scripts in a Python dialect. So if you know Python, the mental burden is much lower.
On top of that, it's cross platform, since Python is. No WSL needed.
I switched to it in 2018 and haven't looked back. Originally it was just because I wanted a better command prompt environment in Windows for work, but I liked it so much I switched to it in Linux as well.
(And yes, you can type any Python statement right in the command prompt).
[1] https://xon.sh/
-
A Second Search for Bash Scripting Alternatives
No xonsh? (https://xon.sh/) Seems to hit most of the requirements.
Been happily using it since 2018. It's great not to have to learn a whole other language just to do scripting.
-
The Dune Shell
Interesting thought experiment. Reminds me of my cousin's project Xonsh https://xon.sh/
-
Reasons I still love the fish shell
If you like this sort of thing, I strongly recommend also checking out the xonsh shell.
It's bash-like, but Python based. Works on both Windows and Linux. Has several of the benefits mentioned in this article. It's really nice that I don't need to learn another language for shell scripting - its language is Python, with some extensions to make it less tedious (e.g. easily executing commands without using os.system or subprocess).
Been using it since 2018.
https://xon.sh/
- Xonsh is a Python-powered shell
What are some alternatives?
docker-shellcheck - 🐳 Dockerized ShellCheck: A static analysis tool for shell scripts
fish-shell - The user-friendly command line shell.
tuterm - A better way to learn CLI programs.
zx - A tool for writing better scripts
autocomplete - IDE-style autocomplete for your existing terminal & shell
nushell - A new type of shell