mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
add aliases for lr
This commit is contained in:
parent
2e1f792647
commit
4368771e02
1 changed files with 8 additions and 2 deletions
10
home/-shrc
10
home/-shrc
|
@ -69,6 +69,7 @@ for x in ls dir vdir grep fgrep egrep; do
|
|||
alias $x="$x --color=auto"
|
||||
done
|
||||
unset x
|
||||
alias lr="lr -G"
|
||||
#alias make="$(has colormake || has make)"
|
||||
|
||||
# just flags
|
||||
|
@ -145,10 +146,15 @@ alias revend='objcopy -I binary -O binary --reverse-bytes=4'
|
|||
alias aur="BUILDDIR=$HOME/src $HOME/sh/aur -jj"
|
||||
alias clone='sudo rsync -aHA --info=progress2 --no-i-r'
|
||||
alias meow='( cd ~/play/meow; ~/sh/meow.sh/run -pa )'
|
||||
# TODO: dotfiles first, like `LC_ALL=C ls -A` which doesnt work with -X flag
|
||||
alias ll="ify less ls -lAX --group-directories-first --color=force"
|
||||
alias get="git clone --single-branch --depth 1"
|
||||
alias aligntabs="column -t -s$'\t'"
|
||||
alias gc="git column --mode=dense --padding=2"
|
||||
|
||||
ll() {
|
||||
{ lr -1lshGG -o tev -t 'name~~".*"||type==d' "$@" \
|
||||
&& lr -1lshGG -o tev -t 'name!~~".*"&&type!=d' "$@" \
|
||||
|| ls -lAX --group-directories-first --color=force "$@"; } | less
|
||||
}
|
||||
|
||||
# providing extra functionality
|
||||
alias counts='find . | wc -l'
|
||||
|
|
Loading…
Add table
Reference in a new issue