Skip to content

Instantly share code, notes, and snippets.

@wteuber
Last active September 23, 2026 16:08
Show Gist options
  • Select an option

  • Save wteuber/0784dd4d5969dc170d3452ddd6b4f8ea to your computer and use it in GitHub Desktop.

Select an option

Save wteuber/0784dd4d5969dc170d3452ddd6b4f8ea to your computer and use it in GitHub Desktop.
List all commands and shell functions in zsh
# Print ALL Executable Commands in your PATH
print -l ${(o)commands}
# Search all matching commands in your PATH
whence -pm "*search*"
# List Loaded Shell Functions
print -l ${(ok)functions}
# List Active Aliases
alias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment