commit 080311167ddaa23c8e0e4cc534835ece2f70b02b parent f6624427a31463b93cbab401547071abaddce129 Author: Byron Torres <b@torresjrjr.com> Date: Sun, 7 Feb 2021 18:55:16 +0000 New aliases for ls, git, tree, grep, diff Diffstat:
M | sh/.shrc | | | 18 | ++++++++++++++---- |
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/sh/.shrc b/sh/.shrc @@ -9,14 +9,24 @@ # bulitins alias c='clear' alias rs='clear; source $DOTSHELL/sh/.shrc' # overwritten -alias ls='ls --color=auto' -alias la='ls -A' +alias ls='ls --color=auto --group-directories-first' +alias la='ls -FA' +alias ll='ls -FAlh' # externals -alias tree='tree -C' +alias tree='tree -C --dirsfirst' +alias diff='diff --color=auto' +alias grep='grep --color=auto' + +alias gitl='git log --oneline --decorate --graph -5' +alias gitll='git log --oneline --decorate --graph --all' +alias gits='git status -s' +alias gitss='git status -v' +alias gitf='git status -v && echo ">>>" && git fetch -v && echo "<<<" && git status -v' + # combinations -alias lf='la; tree -a -L 1' +alias lf='la; tree -L 1' ## Rumtime