David Blume commited on 2016-01-16 09:20:43
Showing 1 changed files, with 5 additions and 5 deletions.
... | ... |
@@ -15,14 +15,13 @@ if [[ $(uname -s) == CYGWIN* ]]; then |
15 | 15 |
PATH=${PATH//":/usr/local/bin:/usr/bin"/} # delete any instances in middle |
16 | 16 |
add_to_path /usr/lib/lapack |
17 | 17 |
ulimit -n 1024 # for "duplicity" |
18 |
- alias ls='ls --color=auto' |
|
19 |
-elif [[ $(uname -s) == Darwin* ]]; then |
|
20 |
- export LSCOLORS=gxfxcxdxbxegedabagacad |
|
21 |
- export CLICOLOR=1 |
|
22 | 18 |
fi |
23 | 19 |
|
24 | 20 |
# change the color of directories in the ls command |
25 |
-# |
|
21 |
+if [[ $(uname -s) == Darwin* ]]; then |
|
22 |
+ export LSCOLORS=gxfxcxdxbxegedabagacad |
|
23 |
+ export CLICOLOR=1 |
|
24 |
+else |
|
26 | 25 |
# After executing: dircolors -p > .dircolors |
27 | 26 |
# Lighten the color of directories from blue to light blue |
28 | 27 |
# sed -i '/# directory/c\DIR 00;36 # directory' .dircolors |
... | ... |
@@ -30,6 +29,7 @@ if [ -x /usr/bin/dircolors ]; then |
30 | 29 |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" |
31 | 30 |
alias ls='ls --color=auto' |
32 | 31 |
fi |
32 |
+fi |
|
33 | 33 |
|
34 | 34 |
alias grep='grep --color=auto' |
35 | 35 |
alias fgrep='fgrep --color=auto' |
36 | 36 |