fixing some color issues with ls
This commit is contained in:
parent
f4f1255671
commit
e782ee6db5
2 changed files with 13 additions and 13 deletions
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue