From 1c8d73147d135a6e53e711d0e46b6c0724ebba45 Mon Sep 17 00:00:00 2001 From: Armin Date: Sat, 28 Feb 2015 23:31:20 +0100 Subject: [PATCH] bugfix --- zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 815e84f80..fc615900c 100644 --- a/zshrc +++ b/zshrc @@ -132,7 +132,10 @@ else fi if [[ "$OS_TYPE" == "FreeBSD" ]]; then - alias ls='ls -al -F' + if hash gls >/dev/null 2>&1; then + alias ls='gls -al -F' + LS_COMMAND=gls + fi CLICOLOR=1; export CLICOLOR alias portinstall="sudo make config-recursive install clean clean-depends" if hash gdircolors >/dev/null 2>&1; then