From 45624e52641c01ab4e5e9871ee829b4fca258919 Mon Sep 17 00:00:00 2001 From: Manuel Amago Date: Wed, 10 Aug 2016 18:32:00 +0100 Subject: Fix GNU dir check --- dot-profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dot-profile') 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 -- cgit v1.2.1