The Valuable Dev - A Guide to the Zsh Line Editor with Examples
Sunday Greetings, Valuable Developer
I hope everything’s going well on your side, and that you’re safe.
Some positive news on my side: my book Building Your Mouseless Development Environment is now available in print! I’m working on this project since last November, trying to make the best book possible at an affordable price. If you’re interested, you can find it from many different distributors.
I’ve also released the book on Product Hunt, to make the book more visible.
The digital version will stay available at the same price. If you can’t afford it, you can send me an email; I’m sure we’ll work something out.
Now, the article of the month: we’ll dive back into Zsh to speak about the Zsh Line Editor:
A Guide to the Zsh Line Editor with Examples
If you use Zsh often, it’s worthwhile to customize the Zsh editor (the prompt where you write your commands) according to your needs, to bring even more efficiency and ease in your workflow.
Last News
- I’ve recorded two videos, available on Youtube:
- The first one dives into Bash unit testing once more.
- The second is about killing every process launched by a Bash script when it terminates.
- The goal of The Valuable Dev is to write about timeless concepts, practices, and tools. As such, 99.98% of “past” articles there are still relevant. That’s why I’ve made a one-page listing of everything published on the website.
Mouseless
Here are some good CLIs to feed your terminal
- I’ve been using diff-so-fancy for while. It outputs Git diffs nicely, with a helpful color scheme. I have to say that I might switch to Delta, which offers many interesting options.
- Speaking about Git diff, you can use it as a regular diff tool. You can diff some files without the need of any Git repo with this command:
git diff --no-index <file1> <file2>
. - Monolith is a cool CLI which can bundle any website into a single HTML file.
- ictree is a more advanced take on the classic
tree
, with a nice addition: you can fold the directories you’re not interested in. Still quite simple and useful. - zellij is a terminal multiplexer (like tmux or GNU screen) allowing you to share sessions with other users more easily than with tmux.
Book
It’s time to relax, especially when the world goes even crazier. Let’s speak science fiction: if you didn’t read the Hyperion Cantos from Dan Simmons, you should give it a try. It’s my favorite sci-fi of all time. It’s awesome. I love it, and I won’t say it enough. Ich liebe dich, Hyperion! Je t’aime!
Next Article
I’m not sure what it will be yet. I think we’ll dive into some fundamentals (but how important!), namely cohesion and coupling. Maybe only one of the two.
I know, it seems that everything has been said on the subject but, as often, I’ll come back to the source of the ideas, see how they evolved, and what we might have missed.
Let’s Connect
If you want more information about the content of this newsletter, or if you have any question, you can hit the wonderful “reply” button. I’m always happy to receive emails!
Similarly, if you think this newsletter is boring, if you didn’t like my last article, or if you have any feedback of any sort, don’t hesitate to reach out.
Thanks for your interest in my work, and see you in a month!