allow arguments to ls

This commit is contained in:
Felix Van der Jeugt 2019-03-11 10:40:04 +01:00
parent 9798683d6d
commit 81630eb9ff
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 4 additions and 1 deletions

5
bashrc
View File

@ -63,7 +63,10 @@ complete -o filenames -F _comp_git git
export HISTCONTROL=ignorespace:erasedups
# Color ls
alias ls="lr -1FGG | git column --mode=dense --padding=3"
ls_() {
lr -1FGG "$@" | git column --mode=dense --padding=3
}
alias ls="ls_"
alias ll="lr -Fl1Ghov"
# There is only one vis