summaryrefslogtreecommitdiff
path: root/dot-profile
diff options
context:
space:
mode:
authorManuel Amago <mamago@gmail.com>2016-08-10 18:32:00 +0100
committerManuel Amago <mamago@gmail.com>2016-08-10 18:32:00 +0100
commit45624e52641c01ab4e5e9871ee829b4fca258919 (patch)
tree54d320d8499e0d7b70f2d5e7a405efd34c0acf23 /dot-profile
parenta58e411209b9e84d5f80835e4cd575f38825dccb (diff)
downloaddotfiles-45624e52641c01ab4e5e9871ee829b4fca258919.tar.gz
dotfiles-45624e52641c01ab4e5e9871ee829b4fca258919.zip
Fix GNU dir check
Diffstat (limited to 'dot-profile')
-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