zsh Getting started with zsh Reload ZSH Configuration


Example

zsh loads configuration from the ~/.zshrc file on startup. If you make changes to that file, you can either restart zsh or run the following command to reload the configuration.

. ~/.zshrc

You can alias this useful command in your ~/.zshrc like this:

alias reload=". ~/.zshrc"