summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot-profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dot-profile b/dot-profile
index ae3b1ca..c158ae9 100644
--- a/dot-profile
+++ b/dot-profile
@@ -14,7 +14,7 @@ export HISTTIMEFORMAT="[%F %T] "
export HISTFILE=~/.bash_eternal_history
# Use MacPorts GNU commands instead of Mac BSD defaults
-if [[ -f /opt/local/libexec/gnubin ]]; then
+if [[ -d /opt/local/libexec/gnubin ]]; then
alias sort=/opt/local/libexec/gnubin/sort
alias ls='/opt/local/libexec/gnubin/ls --color=auto'
fi