From 81630eb9ff3e4bf4e5eeb513f41093ac2109292e Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 11 Mar 2019 10:40:04 +0100 Subject: [PATCH] allow arguments to ls --- bashrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 7601c5a..d300385 100644 --- a/bashrc +++ b/bashrc @@ -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