summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
feb94ae)
Signed-off-by: Frank Terbeck <ft@grml.org>
elif ls -G / >/dev/null 2>&1; then
ls_options=( -G )
fi
elif ls -G / >/dev/null 2>&1; then
ls_options=( -G )
fi
-if grep --color=auto -q "a" <<< "a"; then
+if grep --color=auto -q "a" <<< "a" >/dev/null 2>&1; then
grep_options=( --color=auto )
fi
grep_options=( --color=auto )
fi