Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

how to add a custom zsh aliases

# 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
Comment

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
Comment

oh my zsh add alias

nano ~/.zshrc

alias node="~/.nvm/versions/node/v16.15.1/bin/node"
Comment

PREVIOUS NEXT
Code Example
Shell :: bash delete env variable 
Shell :: batch script if statement 
Shell :: ! [remote rejected] main - main 
Shell :: bash string length 
Shell :: github untrack files 
Shell :: julia install linux 
Shell :: install pycord 
Shell :: how to prevent ubuntu from sleeping when lid is closed 
Shell :: install kubectl krew 
Shell :: run zipkin-server on docker 
Shell :: check gateway linux 
Shell :: ssh without password 
Shell :: how to install bootstrap in angular 
Shell :: how to reset all github credentials 
Shell :: htaccess deny all but 
Shell :: symfony install doctrine 
Shell :: set date and time linux 
Shell :: how to get list of files in a folder in batch script 
Shell :: create folder zip with cmd in windows 10 
Shell :: git pull shows already up to date 
Shell :: terminal delete all files that start with 
Shell :: git remove all files in gitignore 
Shell :: linux mv all folder to previous folder 
Shell :: docker extract file from image 
Shell :: github create branch from issue 
Shell :: turn redis off 
Shell :: break line echo 
Shell :: brew mac 
Shell :: git uncommit last commit but keep changes 
Shell :: giving permission to folder in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =