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 :: ubuntu Not Found The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80 
Shell :: bash split string into variables 
Shell :: chown specific user linux 
Shell :: how to kill a process with linux 
Shell :: git ignore 
Shell :: echo to file 
Shell :: git rev-parse --short HEAD 
Shell :: adb install apk 
Shell :: kubectl neat 
Shell :: how to remove your phone 
Shell :: Reset a remote branch to previous commit 
Shell :: pnpm install dev 
Shell :: git go back a commit 
Shell :: No package mongodb-org available. 
Shell :: [Errno 13] Permission denied: ubuntu 
Shell :: ubuntu find filename recursive 
Shell :: how to find and replace on linux 
Shell :: standard_init_linux.go:178: exec user process caused "exec format error" 
Shell :: minimize on click in ubuntu dock 
Shell :: libc-bin error 
Shell :: quarkus install cli 
Shell :: laravel in ubuntu 
Shell :: show commit differences between branches git 
Shell :: bash ls show link 
Shell :: copy file batch 
Shell :: windows how to install and use RSAT tools 
Shell :: break line bash 
Shell :: homebrew install mac 
Shell :: how to push newly created branch in git bash 
Shell :: set git origin url 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =