mirror of
https://github.com/notwa/rc
synced 2024-11-05 06:29:02 -08:00
add a few aliases
This commit is contained in:
parent
2e0e1db709
commit
f4d511a087
1 changed files with 3 additions and 0 deletions
|
@ -116,6 +116,8 @@ alias gd='git diff -U2'
|
|||
alias gds='git --no-pager diff --stat'
|
||||
alias gl='git log --oneline'
|
||||
alias glo='git log --graph --decorate --pretty=oneline --abbrev-commit --all'
|
||||
alias g1='git log --pretty=oneline --abbrev-commit --color=always | head -1'
|
||||
alias gr='git remote -v'
|
||||
alias gb='git --no-pager branch'
|
||||
|
||||
# being specific {{{2
|
||||
|
@ -143,6 +145,7 @@ lol() {
|
|||
alias diff="git diff --color=auto --no-ext-diff --no-index --no-prefix"
|
||||
alias gc="git column --mode=dense --padding=2"
|
||||
alias counts='find . | wc -l'
|
||||
alias exts="find -type f | grep -o '\\.[^/.]*$' | sort | uniq -c | sort -n"
|
||||
alias nocom='grep -Ev --line-buffered --color=never "^[[:space:]]*(//|#)"'
|
||||
alias sortip="sort -t . -k 1,1n -k 2,2n -k 3,3n -k 4,4n"
|
||||
alias jrep='grep -aPo "[\x{20}-\x{7E}\x{4E00}-\x{9FFF}\x{3040}-\x{30FF}]+"'
|
||||
|
|
Loading…
Reference in a new issue