bash_aliases: ls -color=auto
add some color to my bash life ...
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# ======
|
||||
# shorts
|
||||
# ======
|
||||
alias l='ls -l'
|
||||
alias k='ls -la'
|
||||
function ö { l --color $1 | less; }
|
||||
function j { if ! [ -z $2 ]; then k --color $1 | grep -i $2 --color=never; else k --color | grep -i $1 --color=never; fi;}
|
||||
alias l='ls -l --color=auto'
|
||||
alias k='ls -la --color=auto'
|
||||
function ö { l --color=auto $1 | less; }
|
||||
function j { if ! [ -z $2 ]; then k --color=auto $1 | grep -i $2 --color=never; else k --color=auto | grep -i $1 --color=never; fi;}
|
||||
|
||||
# ============================
|
||||
# expanded commands / "macros"
|
||||
|
||||
Reference in New Issue
Block a user