Skip to content

Instantly share code, notes, and snippets.

@Pelielo
Last active October 28, 2022 10:44
Show Gist options
  • Save Pelielo/26eef84fc93bc4d228d78f7992c145f1 to your computer and use it in GitHub Desktop.
Save Pelielo/26eef84fc93bc4d228d78f7992c145f1 to your computer and use it in GitHub Desktop.
Custom aliases for ZSH
# 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