mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +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,7 +13,11 @@ if [[ "$DISABLE_COLOR" != 'true' ]]; then
|
||||||
else
|
else
|
||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
export LSCOLORS="exfxcxdxbxegedabagacad"
|
export LSCOLORS="exfxcxdxbxegedabagacad"
|
||||||
alias ls='ls -G -F'
|
if [[ "`uname`" = Linux ]]; then
|
||||||
|
alias ls='ls -G -F --color=auto'
|
||||||
|
else
|
||||||
|
alias ls='ls -G -F'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue