From 960502b4b543717404dbef6483a9fde1f8ea773d Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 15 Apr 2015 14:34:32 +0900 Subject: [PATCH] Fix flags for osx ls --- emacs.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index e7d6c37..0d89b1b 100644 --- a/emacs.el +++ b/emacs.el @@ -2177,9 +2177,12 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer." (defvar-set eshell-cmpl-ignore-case t) (defvar-set eshell-cmpl-cycle-completions nil) (defvar-set eshell-highlight-prompt nil) - (defvar-set eshell-ls-initial-args '("-hCFG" - "--color=auto" - "--time-style=long-iso")) ; "-hF") + (if (eq system-type 'darwin) + (defvar-set eshell-ls-initial-args '("-hCFG") + (defvar-set eshell-ls-initial-args '("-hCFG" + "--color=auto" + "--time-style=long-iso")) ; "-hF") + )) (defvar-set eshell-prompt-function 'my-eshell-prompt-function)