Hi, I’m Erika Rowland (a.k.a. erikareads). Hi, I’m Erika. I’m an Ops-shaped Software Engineer, Toolmaker, and Resilience Engineering fan. I like Elixir and Gleam, Reading, and Design. She/Her. If you're looking for experienced talent, I would love to chat. Published on

zsh

zsh is a shell alternative to bash. It comes pre-installed on MacOS.

Autocompletion setup

fpath=(~/.zsh/functions $fpath)
autoload -Uz compinit
compinit

Completion functions must be located on the $fpath with the name that matches their #compdef:

$ cat ~/.zsh/functions/_gh | head -n 1
#compdef gh