Created
September 10, 2022 13:48
-
-
Save salman0ansari/78b2558e1a01b27c67f1174dff8d79ef to your computer and use it in GitHub Desktop.
zsh alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias pacup="sudo pacman -Syu" | |
alias yayup="yay -Syu" | |
alias cleanup="yay -Scc" | |
alias server="ssh ubuntu@$IP -i ~/.ssh/mumbaiaws.pem" | |
alias printpath="echo $PWD" | |
# spelling correction | |
alias exi="exit" | |
alias exti="exit" | |
alias eitx="exit" | |
alias eixt="exit" | |
alias exiyt="exit" | |
alias exity="exit" | |
alias lss="ls" | |
alias clea="clear" | |
alias cl="clear" | |
# start/restart something | |
alias startmongo="sudo mongod --dbpath /usr/local/mongodb/" | |
alias startdns="sudo systemctl start warp-svc.service" | |
alias restartssh="sudo systemctl restart sshd.service" | |
# manage cloudflare warp | |
alias dnson="warp-cli connect" | |
alias dnsoff="warp-cli disconnect" | |
# navigation | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment