mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
fix ls colors on linux
This commit is contained in:
parent
38b39191e6
commit
1d968a302e
1 changed files with 5 additions and 1 deletions
|
|
@ -13,9 +13,13 @@ if [[ "$DISABLE_COLOR" != 'true' ]]; then
|
|||
else
|
||||
export CLICOLOR=1
|
||||
export LSCOLORS="exfxcxdxbxegedabagacad"
|
||||
if [[ "`uname`" = Linux ]]; then
|
||||
alias ls='ls -G -F --color=auto'
|
||||
else
|
||||
alias ls='ls -G -F'
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
alias ll='ls -lh' # Show human readable.
|
||||
alias l='ls -lha' # Show hidden files.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue