If all goes well with my #VoidLinux#ZFSBootMenu install tomorrow I might be tempted to give #Zsh a try instead of my usual trusty #Bash ?
Anyone want to chime in with reasons for and against zsh ?
Oh no if I did jumpt ship to #ZSH I currently use Starship prompt but I see there is also Spaceship prompt specifically for ZSH.
Anyone use the later and is it better to use than Starship ?
This #Linux, #Unix, #macOS, #FreeBSD shell feature comparison table shows that ZSH and FISH have the most features. Why aren't you using ZSH or FISH yet?
@hramrach@bagder if you think #bash is horrible (I assume you use #zsh and/or #fish - which then yes that is a valid argument) then please take a look at #ksh, #tcsh or the original #UNIX#sh and tell me that's readable.
Tangents aside: Bash, for better or worse, is the #standard for #Linux and since I want OS/1337 to be "self-reproducing" / "self-hosting" with as little dependencies as possible, I'm stuck with it.
Been having fun crafting zsh dotfiles that can be used on both my Linux laptop and on my MacBook Pros (two that are Intel-based and one that is Apple Silicon-based).
Having to do a few tests for paths and archs and all that fun stuff. Also, have to work around having Homebrew on my Macs and no Homebrew on the Linux laptop.
#zsh#vim question: in zsh vim mode. press "esc" to go to normal mode - all is great. Then i to edit mode - great! Now esc again and H runs "run-help". How to disable it?:)
(Re-occurring reminder: It's nice to see you're able to tweak the living s__t out of your #vim, #zsh or whatever terminal-based tools you admire for your daily workflow. Maybe this will make you a Linux admin guru. And yet, you'll make a total fool out of yourself by failing to get along well with a remote Debian machine, being forced to use just a plain bash shell, vanilla vi and no permissions to install any additional software or extensions here. Know the basics. Period.)
In my latest blog post about zsh I erroneously stated that while VS Code supports changes to the terminal, RStudio doesn't.
That's a load of horse shit. Of course it supports it, and it takes all of 3 clicks to make zsh the default terminal, including with your Oh My Zsh setup etc.
Using open source software to get paid for using electricity, automatically formatting your terrible Python code, speeding up Zsh, a couple of ways to get notifications, M1 Macbook Air problems, an epic ThinkPad collection, and more.
@LateNightLinux I think the proper pronunciation for #zsh should be "zeesh". The "SH" stands for "shell", so instead of spelling out "ess-heich", why not just say the "sh" sound somehow, like how bash isn't "Bee Ai Ess Heich".
English is hard. You guys should include "Th", "Sh", "Ch", etc. in your alphabet as distinct things. In the Hungarian alphabet we call "cs" and "sz" and "dz" as letters by themselves, because they are used to denote single sounds.
Today I learned how to split a variable with multiple lines for a Bash/ZSH script. I was using the previously mentioned mdb-query package, and I have a variable named tables with the different tables, separated by returns. When I fried to do for table in $tables; do echo $table; done, it did not split the lines.
I got the right output with
while IFS= read -r table; do $table; done <<< $tables
Today I got some time to find out why my #zsh takes a noticeably long time to start. The offender was #nvm. As I removed it, the time got down from 450ms to 60ms.
To time startup of zsh vs bash:
$ for i in $(seq 1 10); do /usr/bin/time bash -i -c exit; done
$ for i in $(seq 1 10); do /usr/bin/time zsh -i -c exit; done
To find how long each plugin takes at startup, add zmodload zsh/zprof at the top of ~/.zshrc and zprof at the bottom.
I've yet to meet a transfem computer nerd that likes #PowerShell.
I know a lot that like #zsh and #fish - some even #bash and even one that likes vintage shells but none that like PowerShell because #PowerSH is cringe af.
Man Reader - my Mac app for reading Terminal command man pages - has finally had its long awaited update. The new version is now waiting for review.
Currently, Man Reader costs USD 4.99 or the local equivalent. I will be increasing this to USD 9.99 when the update is released, so if you want to save some money, buy it now and get the upgrade at half-price.
Sometimes it's easy to forget how much the #linux#foss#opensource community innovates so quickly and it really is person to person where things get done.
SHARE WITH THE CLASS: What aliases are you using?
From bash to zsh and everywhere in between, show me yours and I'll show you mines. Inspire others or get some feedback....