From 6d676ce8a98cb688b282c38e97c6062da510d5ca Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Mon, 28 Aug 2023 08:06:30 -0700 Subject: egrep is deprecated --- .bash_completion.d/git-completion.bash | 2 +- .bashrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_completion.d/git-completion.bash b/.bash_completion.d/git-completion.bash index 3402475..a97e879 100644 --- a/.bash_completion.d/git-completion.bash +++ b/.bash_completion.d/git-completion.bash @@ -624,7 +624,7 @@ __git_commands () { then printf "%s" "${GIT_TESTING_COMMAND_COMPLETION}" else - git help -a|egrep '^ [a-zA-Z0-9]' + git help -a|grep -E '^ [a-zA-Z0-9]' fi } diff --git a/.bashrc b/.bashrc index 2b0cf38..12f5e6e 100644 --- a/.bashrc +++ b/.bashrc @@ -738,7 +738,7 @@ func_export untar # multiple SSH sessions function freshen_tmux { - eval $(tmux show-environment -g | egrep '^(SSH_|DISPLAY|TERM_BG_SHADE)' | xargs -n1 -d '\n' echo "export") + eval $(tmux show-environment -g | grep -E '^(SSH_|DISPLAY|TERM_BG_SHADE)' | xargs -n1 -d '\n' echo "export") } func_export freshen_tmux -- cgit v1.2.3