Reminder: Always specify in your shell scripts which shell you expect it to be interpreted with. zsh & bash interpret some things differently. I learned this the hard way several years ago on ArchLinux. And, /bin/sh is usually a link (hopefully to a POSIX-compliant shell), so when you get a script from someone else that has bin/sh in the shebang, read it carefully. That could be a future video: Shell Scripting Best Practices I enjoying watching your videos.
I also switched back. I am a bash OG, with years of use as a sysadmin with a very basic prompt and writing scripts, using containers, &c. And I still agree with your advice to learn bash deeply. But eventually after a number of years, I switched to zsh and oh-my-zsh for all the reasons you discuss here.
You ideally know bash and the interactive shell of your choice. 👍 For scripting it is easily possible to use the bash. Also zsh is POSIX compliant like bash. So good scripts run in both shells.
You change when you have to change. I tend to get stuck in configuration-hell now and then. Switching SHELL and other tools too frequently. I remember Prime commenting on spending one week per year fine-tuning, after that using the setup for at least a year. Sounds like a good advice.
After an initial period of lots of configuration, I too have reached a baseline. I have a certain set of requirments I need in my workflow, and I aim to achieve those with as little configuration as possible.
Hey man, maybe you can share zk cli tool ya made! Id try it out. Also curious how your new notes in obsidian begin with an H1 header in the middle of your screen. Edit: Its a combination of templater and removing the “show inline title” option in settings.
SUBSCRIBE TO MY NEWSLETTER
mischavandenburg.substack.com
Reminder: Always specify in your shell scripts which shell you expect it to be interpreted with. zsh & bash interpret some things differently. I learned this the hard way several years ago on ArchLinux. And, /bin/sh is usually a link (hopefully to a POSIX-compliant shell), so when you get a script from someone else that has bin/sh in the shebang, read it carefully. That could be a future video: Shell Scripting Best Practices
I enjoying watching your videos.
Thank you John!
I also switched back. I am a bash OG, with years of use as a sysadmin with a very basic prompt and writing scripts, using containers, &c. And I still agree with your advice to learn bash deeply. But eventually after a number of years, I switched to zsh and oh-my-zsh for all the reasons you discuss here.
You ideally know bash and the interactive shell of your choice. 👍 For scripting it is easily possible to use the bash. Also zsh is POSIX compliant like bash. So good scripts run in both shells.
You change when you have to change. I tend to get stuck in configuration-hell now and then. Switching SHELL and other tools too frequently. I remember Prime commenting on spending one week per year fine-tuning, after that using the setup for at least a year. Sounds like a good advice.
After an initial period of lots of configuration, I too have reached a baseline. I have a certain set of requirments I need in my workflow, and I aim to achieve those with as little configuration as possible.
Hey man, maybe you can share zk cli tool ya made! Id try it out. Also curious how your new notes in obsidian begin with an H1 header in the middle of your screen.
Edit: Its a combination of templater and removing the “show inline title” option in settings.
its on my github mischavandenburg/zettelkasten-cli , but it's very bespoke still :)
Thanks boss! I see it now 😏
Do you use VirtualBox or VMware in Apple Silicon? Is it possible to install X86 Linux VMs using these new Macs?
i don't think VirtualBox is supporting Apple silicon (M1/M2/M3) anymore
@@leedavis3533 UTM, nice, I will search about it
Could you recommend good resources for learning and tuning bash?
The great thing about bash that all you need is available on any system: man bash
Read through this at least once and then TH-cam is your friend
Just curious as to how you were navigating the browser..
using vim keybindings with Qutebrowser
@@mischavandenburg Nice! Thanks!
The shell article must be behind the paywall,I could not search it.
mischavandenburg.com/zet/back-to-bashics/
@@mischavandenburg Thanks! I only searched substack.
I use fish btw
that's the third time i am changing
Maybe its time for you to give Fish a try, or Nushell if you are feeling super spicy
That is very spicy indeed
Saludos
Wait did do you just say you left zsh because of Auto completion but now went back to zsh because of autocompletion😂
True but not right, right but not true