aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc')
-rw-r--r--shellrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/shellrc b/shellrc
index ce625aa..c357ef0 100644
--- a/shellrc
+++ b/shellrc
@@ -4,7 +4,11 @@
# Continue only if this is interactive shell
[[ $- != *i* ]] && return
-alias ls='ls --color=auto'
+if [ "$(uname -s)" = "FreeBSD" ]; then
+ alias ls='ls -G'
+else
+ alias ls='ls --color=auto'
+fi
alias ll='ls -l'
eval $(dircolors -b)
alias grep='grep --color=auto'