git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash/aliases.bash9
1 files changed, 7 insertions, 2 deletions
diff --git a/.bash/aliases.bash b/.bash/aliases.bash
index 85b8737..dff312a 100644
--- a/.bash/aliases.bash
+++ b/.bash/aliases.bash
@@ -6,8 +6,13 @@
if [ "$TERM" != "dumb" ];then
eval "$(dircolors -b)"
alias ls="ls --color=auto"
- alias grep="grep --color=auto"
- alias egrep="egrep --color=auto"
+ case "$OSNAME" in
+ 'sunos') ;;
+ *)
+ alias grep="grep --color=auto"
+ alias egrep="egrep --color=auto"
+ ;;
+ esac
fi
# shellcheck disable=SC2139
if [ -n "$EDITOR" ]; then