Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
570158e4
Unverified
Commit
570158e4
authored
Oct 03, 2022
by
Nadhem
Committed by
GitHub
Oct 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(lib): update deprecated grep aliases (#11161)
parent
b93b67b8
Pipeline
#287992
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
grep.zsh
lib/grep.zsh
+2
-2
No files found.
lib/grep.zsh
View file @
570158e4
...
...
@@ -24,8 +24,8 @@ else
if
[[
-n
"
$GREP_OPTIONS
"
]]
;
then
# export grep, egrep and fgrep settings
alias grep
=
"grep
$GREP_OPTIONS
"
alias
egrep
=
"
egrep
$GREP_OPTIONS
"
alias
fgrep
=
"
fgrep
$GREP_OPTIONS
"
alias
egrep
=
"
grep -E
$GREP_OPTIONS
"
alias
fgrep
=
"
grep -F
$GREP_OPTIONS
"
# write to cache file if cache directory is writable
if
[[
-w
"
$ZSH_CACHE_DIR
"
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment