Created
August 21, 2025 18:25
-
-
Save yashkant/0042bf5c093319fde88ef2d56f1fb48a to your computer and use it in GitHub Desktop.
.zshrc aliases
This file contains hidden or 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 c=clear | |
| alias untar='tar -zxvf ' | |
| alias ping='ping -c 5' | |
| alias speed='speedtest-cli --server 2406 --simple' | |
| # tmux alias | |
| alias ta='tmux a -t' | |
| alias py="python" | |
| alias tn="tmux new -s" | |
| alias ts="tmux ls" | |
| # general utility | |
| alias rcp='rsync -aP' | |
| alias cds='cd /srv/share/ykant3' | |
| # inspired from: https://github.com/vikaskyadav/awesome-bash-alias | |
| alias gs="git status" | |
| alias gl="git log" | |
| alias ga="git add -A" | |
| alias gc="git commit -m" | |
| alias gct="git checkout" | |
| alias gpl="git pull " | |
| alias gph="git push " | |
| alias gd="git diff " | |
| alias grh="git reset --hard" | |
| alias grl="rm .git/index.lock" | |
| # count files, print a few files in a directory | |
| alias cf="ls -1 | wc -l" | |
| alias pf="ls -U | head -10" | |
| # nvidia-smi | |
| alias wsmi="watch -n 1 nvidia-smi" | |
| # conda environments | |
| alias coa="conda activate " | |
| alias cod="conda deactivate " | |
| alias cols="conda info --envs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment