zsh create alias
# 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
zsh create alias
# 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
oh my zsh custom alias
# 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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us