Last active
October 28, 2022 10:44
-
-
Save Pelielo/26eef84fc93bc4d228d78f7992c145f1 to your computer and use it in GitHub Desktop.
Custom aliases for ZSH
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
# CUSTOM ALIASES FOR ZSH | |
# | |
# Add these lines to ~/.zshrc: | |
# wget -q -O $HOME/.oh-my-zsh/custom/aliases.zsh https://gist.githubusercontent.com/Pelielo/26eef84fc93bc4d228d78f7992c145f1/raw/ | |
# source $HOME/.oh-my-zsh/custom/aliases.zsh | |
# zshrc | |
alias zs="source ~/.zshrc" | |
alias zc="vim ~/.zshrc" | |
alias za="vim ~/.oh-my-zsh/custom/aliases.zsh" | |
# Kubernetes | |
alias k="kubectl" | |
alias kctx="kubectx" | |
alias kens="kubens" | |
# VPN | |
alias vpnlogs="journalctl -u NetworkManager.service -fx" | |
# Git | |
alias gpl="git pull" | |
alias gcm="git commit -m" | |
alias gch="git checkout" | |
alias ga="git add" | |
alias gps="git push" | |
alias gs="git stash" | |
alias gsp="git stash pop" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment