# Locate your .zshrc file usually in root folder "~/.zshrc"
# Add the desired alias
alias aliasName="command"
# Reload .zshrc in orders for changes to take place
source ~/.zshrc
# Create a custom file for aliases.zsh
touch $ZSH/custom/aliases.zsh
# write your zsh aliases in this file
vim $ZSH_CUSTOM/aliases.zsh
# Add the your alias
alias aliasName="command"
# source or simply restart your Terminal for updates
source ~/.zshrc
# Create custom file aliases.zsh the directory .oh-my-zsh/custom/
touch $ZSH/custom/aliases.zsh
# Edit the file you just created
vim $ZSH/custom/aliases.zsh
# Add your formatted aliases e.g:
alias g="git"
# Source the .zshrc or start a new terminal session to apply changes
source ~/.zshrc
nano ~/.zshrc
alias node="~/.nvm/versions/node/v16.15.1/bin/node"