My zsh configuration
git clone https://github.com/m-col/zshrc
Files | Refs | Readme

Commit 5c16d5e63a5dff1629b651615bc3b8ecb258deaa
Parent: 79e2fdd61fcb99e12d8ca621ae0adae1f8b2eb57
Author: mcol <mcol@posteo.net>
Date: 2020-07-28 19:53:30 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-07-28 19:53:30 +0100

add some git aliases

aliases Modified

@@ -10,6 +10,7 @@
 alias lc='ls -c1'
 alias tmp='cd /tmp; l'
 alias _='sudo'
+alias grep='grep --exclude-dir="__pycache__"'
 
 # systemd
 alias sc='systemctl'
@@ -56,8 +57,10 @@
 alias brs='git branch -v'
 alias ch='git checkout'
 alias dif='git diff'
+alias difs='git diff --staged'
 alias cl='git clone'
 alias chp='git cherry-pick'
+alias res='git restore'
 
 # tools
 alias usync='rsync -avPzh --delete'