summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b7b6b67)
# speeds up shell starts.
#
# Check if colors are available.
# speeds up shell starts.
#
# Check if colors are available.
-ls --color > /dev/null 2>&1
-if test $? -eq 0; then
+if ls --color > /dev/null 2>&1; then
- ls -G > /dev/null 2>&1
- if test $? -eq 0; then
+ if ls -G > /dev/null 2>&1; then
ls_color=cli
else
ls_color=
ls_color=cli
else
ls_color=