Last active
September 23, 2026 16:08
-
-
Save wteuber/0784dd4d5969dc170d3452ddd6b4f8ea to your computer and use it in GitHub Desktop.
List all commands and shell functions in zsh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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