My shell of choice. My config for it can be seen here.
- Exported variables get passed on to child processes. Non-exported variables do not.
- I don't need to add
functiontext before function definition.
zshallman page to find all zsh widgets and more things.
- I can use
zsh/zprofto profile zsh startup time. Docs for it can be seen in
zsh -x- See what Zsh executes when it starts new shell.
cmd -and TAB will list options for command.
# Read function definition
whence -f ..
# See where the it was defined
# Bind comand to alt key
# alt+i will run 'a' command.
# \e means opt key
bindkey -s '\ei' '^Ua^M'
# See what is binded to a key
# See what is binding to ⌃ + E
# Run zsh without sourcing zshrc
# Set alias to external command
alias fin='command fd'
# List all bindings
- Zsh custom widgets
- Prezto - Instantly Awesome Zsh.
- zsh-dirnav - Directory navigation functions for zsh.
- Zsh prompt with asynchronous Git status
- ZSH History Database
- Building portable Zsh
- Speeding up Zsh
- Some zshrc tricks (2020) (Lobsters)
- 5 Types Of ZSH Aliases You Should Know (HN)
- Zsh and Fish’s simple but clever trick for highlighting missing linefeeds (2020) (HN)
- Nice Zsh configs/tips
- tabtab - Generate CLI completions for zsh, bash, and fish.
- Oh My Zsh - Open source, community-driven framework for managing your zsh configuration.
- zsh-defer - Deferred execution of zsh commands.
- Zsh Compinit ... RTFM (2018) - Optimizing Zsh startup time.
- Mastering Zsh - Advanced topics to take advantage of zsh.
- Zsh Tricks to Blow Your Mind (2021) (HN)
- sandboxd - Speed up your bashrc / zshrc: avoids running (slow) setup commands until you actually need them.
- zsh-bin - Statically-linked, hermetic, relocatable Zsh.
- Zim - Modular, customizable, and blazing fast Zsh framework. (Web) (HN)
- A User's Guide to ZSH
- zsh-bench - Benchmark for interactive Zsh.
- s/bash/zsh/g (2021) (HN)
- ZSH Completions How To (HN)
- A Guide to Zsh Expansion with Examples (2021)
- Zi - Swiss Army Knife for Zsh. (Docs)
- Zsh Plugin Standard
- Zsh Native Scripting Handbook
- zshbrev - Allows you to mix zsh code and brev code.
- Moving files in ZSH - The wonderful world of zmv (2022)
- Fixing macOS Zsh Terminal History Settings (2022) (HN)
- Why does zsh start so slowly? (2022) (HN)
- LazyShell - GPT powered Zsh completion script.