diff --git a/home/-shrc b/home/-shrc index 4bd8754..0789153 100644 --- a/home/-shrc +++ b/home/-shrc @@ -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}]+"'