fixing some color issues with ls

This commit is contained in:
Andrew Davidson 2020-05-20 07:57:03 -04:00
parent f4f1255671
commit e782ee6db5
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6
2 changed files with 13 additions and 13 deletions

View file

@ -1,10 +1,10 @@
# Lazy
alias ..='cd ..'
alias lh='ls -d .*' # show hidden files/directories only
alias lsd='ls -aFhlG'
alias l='ls -al'
alias ls='ls -GFh' # Colorize output, add file type indicator, and put sizes in human readable format
alias ll='ls -GFhl' # Same as above, but in long listing format
alias lh='ls --color -d .*' # show hidden files/directories only
alias lsd='ls -aFhlG --color'
alias l='ls -al --color'
alias ls='ls -GFh --color' # Colorize output, add file type indicator, and put sizes in human readable format
alias ll='ls -GFhl --color' # Same as above, but in long listing format
# List directories sorted by size
alias dus='du -sckx * | sort -nr'

View file

@ -12,11 +12,11 @@ export PR_RED PR_GREEN PR_YELLOW PR_BLUE PR_WHITE PR_BLACK
export PR_BOLD_RED PR_BOLD_GREEN PR_BOLD_YELLOW PR_BOLD_BLUE
export PR_BOLD_WHITE PR_BOLD_BLACK
# Clear LSCOLORS
unset LSCOLORS
# Main change, you can see directories on a dark background
#expor tLSCOLORS=gxfxcxdxbxegedabagacad
export CLICOLOR=1
export LS_COLORS=exfxcxdxbxegedabagacad
## Clear LSCOLORS
#unset LSCOLORS
#
## Main change, you can see directories on a dark background
#export LSCOLORS=gxfxcxdxbxegedabagacad
#
#export CLICOLOR=1
#export LS_COLORS=exfxcxdxbxegedabagacad