mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
various updates
This commit is contained in:
parent
f4c741a1ba
commit
b2a9b62fa5
6 changed files with 226 additions and 18 deletions
|
|
@ -16,9 +16,9 @@ else
|
|||
# isn't available, --color won't be either (they were released at the same
|
||||
# time (v2.5): https://git.savannah.gnu.org/cgit/grep.git/tree/NEWS?id=1236f007
|
||||
if grep-flags-available --color=auto --exclude-dir=.cvs; then
|
||||
GREP_OPTIONS="--color=auto --exclude-dir=$EXC_FOLDERS"
|
||||
GREP_OPTIONS="--color=always --exclude-dir=$EXC_FOLDERS"
|
||||
elif grep-flags-available --color=auto --exclude=.cvs; then
|
||||
GREP_OPTIONS="--color=auto --exclude=$EXC_FOLDERS"
|
||||
GREP_OPTIONS="--color=always --exclude=$EXC_FOLDERS"
|
||||
fi
|
||||
|
||||
if [[ -n "$GREP_OPTIONS" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue