Skip to content

Commit cd13ef2

Browse files
authored
Merge pull request #64 from burningserenity/egrep_to_grep-E
change egrep to grep -E to silence obsolescence warning
2 parents 8fc0d2f + c9a62ab commit cd13ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alias-tips.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ _alias_tips__preexec () {
4343
shell_aliases=$(\alias)
4444

4545
local shell_functions
46-
shell_functions=$(\functions | \egrep -a '^[a-zA-Z].+ \(\) \{$')
46+
shell_functions=$(\functions | \grep -E -a '^[a-zA-Z].+ \(\) \{$')
4747

4848
# Exit code returned from python script when we want to force use of aliases.
4949
local force_exit_code=10

0 commit comments

Comments
 (0)