mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
Stop coloring ls
This commit is contained in:
parent
4dd8ec5738
commit
5301fbffbe
1 changed files with 12 additions and 3 deletions
15
shell/colors
15
shell/colors
|
|
@ -1,7 +1,16 @@
|
||||||
# add some color
|
# add some color on grep match
|
||||||
alias grep=grep --color=auto
|
alias grep=grep --color=auto
|
||||||
CLICOLOR=1;
|
|
||||||
export CLICOLOR
|
# ls colors
|
||||||
|
# case "$OSTYPE" in
|
||||||
|
# *darwin*)
|
||||||
|
# export CLICOLOR=1
|
||||||
|
# alias ls="ls --color=auto"
|
||||||
|
# ;;
|
||||||
|
# *linux*)
|
||||||
|
# alias ls="ls --color"
|
||||||
|
# ;;
|
||||||
|
# esac
|
||||||
|
|
||||||
# gnome terminal knows colors
|
# gnome terminal knows colors
|
||||||
[[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color
|
[[ "$COLORTERM" == "gnome-terminal" ]] && export TERM=xterm-256color
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue