From 2bdedd51b3e47d55e44a6e3bc58fdf26963cf930 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 23 Aug 2012 16:18:02 +0900 Subject: [PATCH] add --hide option --- bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 233b238..5128ea4 100755 --- a/bashrc +++ b/bashrc @@ -91,8 +91,9 @@ echo ( ! with_coreutils && isdarwin ) || test "$TERM" == dumb || _coloroption=" --color=auto" ( ! with_coreutils && isdarwin ) || iswindows || _timeoption=" --time-style=long-iso" +( ! with_coreutils && isdarwin ) || _hideoption=" --hide=[A-Z]*" -alias ls="ls -hCF${_coloroption}${_timeoption}" +alias ls="ls -hCF${_coloroption}${_timeoption}${_hideoption}" # export GREP_OPTIONS="" alias grep="grep -n${_coloroption}" iswindows && alias grep="grep -n"