mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
Fix typo
This commit is contained in:
+3
-3
@@ -7,16 +7,16 @@ grep_flag_available() {
|
||||
GREP_OPTIONS=""
|
||||
|
||||
# color grep results
|
||||
if grep-flag-available --color=auto; then
|
||||
if grep_flag_available --color=auto; then
|
||||
GREP_OPTIONS+=( " --color=auto" )
|
||||
fi
|
||||
|
||||
# ignore VCS folders (if the necessary grep flags are available)
|
||||
VCS_FOLDERS="{.bzr,CVS,.git,.hg,.svn}"
|
||||
|
||||
if grep-flag-available --exclude-dir=.cvs; then
|
||||
if grep_flag_available --exclude-dir=.cvs; then
|
||||
GREP_OPTIONS+=( " --exclude-dir=$VCS_FOLDERS" )
|
||||
elif grep-flag-available --exclude=.cvs; then
|
||||
elif grep_flag_available --exclude=.cvs; then
|
||||
GREP_OPTIONS+=( " --exclude=$VCS_FOLDERS" )
|
||||
fi
|
||||
|
||||
|
||||
+1
-1
@@ -23,4 +23,4 @@ if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
|
||||
fi
|
||||
|
||||
# recognize comments
|
||||
shopt interactive_comments
|
||||
shopt -s interactive_comments
|
||||
|
||||
Reference in New Issue
Block a user