2022-11-28
|~1 min read
|147 words
I tried exiting a zsh terminal recently when I was greeted by a new error: What are the jobs? Well, zsh has a built-in command which will…
2022-11-28
|~1 min read
|83 words
When you write shell functions, it is sometimes useful to call a different function (smaller functions are easier to comprehend). How do you…
2022-11-28
|~2 min read
|281 words
Though potentially less daunting than Vim or Emacs, mastering is a long road, but a few keyboard shortcuts can help to make you feel much…
2022-11-28
|~2 min read
|303 words
At Olo, we rebase our commits rather than merge to keep a cleaner git history. As with all things, there are some tradeoffs to this approach…
2022-11-28
|~4 min read
|602 words
I’ve always been in the habit of looking at the manual to understand what options are available for different command line tools. That means…
2022-11-28
|~5 min read
|849 words
I was working on customizing my prompt in ZSH recently when I came across a useful feature: hooks. Just like other plugins for ZSH, hooks…
2022-11-28
|~3 min read
|509 words
Recently, I came across a really interesting Unix & Linux StackExchange answer from Stéphane Chazelas on the differences between how shells…
2022-11-28
|~3 min read
|431 words
In my previous post on globbing, I looked at how to glob multiple file types simultaneously (while narrowing only to a specific set). I also…
2022-11-28
|~1 min read
|137 words
I have a dotfiles repository where I store all of my settings for things like and VS Code. Whenever I make a change to one of those files…
2022-11-28
|~2 min read
|262 words
UNIX systems come with a utility, which, as might be expected, terminates processes. I wrote about it previously in the context of killing…
2022-11-28
|~6 min read
|1013 words
With macOS Catalina, Apple made zsh the default shell. That’s all well and good since I have been using zsh for a while now. However, in…
2022-11-28
|~2 min read
|380 words
NVM, the Node Version Manager, is an invaluable tool when working on multiple node projects. Instead of manually managing the globally…
2022-11-28
|~1 min read
|153 words
If I can quickly change directories () to anywhere in my computer’s file system, how can I go back if I mistakenly navigate away from…
2022-11-28
|~2 min read
|350 words
Recently, I was working on a project when I realized that my username was being assigned to a variable that I wasn’t expecting. I wanted to…
2022-11-28
|~1 min read
|170 words
Today I wanted to learn how to programmatically update a file with shell scripting. Turns out that there are multiple approaches and it…
2022-11-28
|~1 min read
|79 words
If you switch between shells, it might be handy to determine which one is currently running. One way to do that is to check your process…
2022-11-28
|~3 min read
|590 words
By default, the shell on a Mac is . Changing this should be a simple three step process: Make sure that is installed and is an accepted…
2022-11-28
|~2 min read
|232 words
I am constantly striving to improve my understanding and comfort interacting with my terminal. I remember how excited I was when I first…
2022-11-28
|~1 min read
|111 words
To make an environment variable available in Bash or Zsh, save the environment to or respectively. To set the variable, open the…
2022-11-28
|~2 min read
|272 words
I recently figured out how to write a shell function. The problem is that pretty quickly I’d forgotten which functions I’d written, or fi I…
2022-11-28
|~3 min read
|578 words
Imagination Time Imagine a situation where you want to be able to navigate to a specific directory then open that directory with your text…
2022-11-28
|~4 min read
|631 words
NB: If you want the quick steps to add aliases to your , jump down to the section, ”Adding Aliases: The Better Way“. First, a little…