diff options
author | Mike Crute <mike@crute.us> | 2023-08-28 08:06:30 -0700 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2023-08-28 08:06:32 -0700 |
commit | 6d676ce8a98cb688b282c38e97c6062da510d5ca (patch) | |
tree | 23eaec38296dbef501503c29f5a997fa0678ba14 | |
parent | 9bcf718508aff234670deaa478ef0fbdeb57034e (diff) | |
download | dotfiles-6d676ce8a98cb688b282c38e97c6062da510d5ca.tar.bz2 dotfiles-6d676ce8a98cb688b282c38e97c6062da510d5ca.tar.xz dotfiles-6d676ce8a98cb688b282c38e97c6062da510d5ca.zip |
egrep is deprecated
-rw-r--r-- | .bash_completion.d/git-completion.bash | 2 | ||||
-rw-r--r-- | .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 () { | |||
624 | then | 624 | then |
625 | printf "%s" "${GIT_TESTING_COMMAND_COMPLETION}" | 625 | printf "%s" "${GIT_TESTING_COMMAND_COMPLETION}" |
626 | else | 626 | else |
627 | git help -a|egrep '^ [a-zA-Z0-9]' | 627 | git help -a|grep -E '^ [a-zA-Z0-9]' |
628 | fi | 628 | fi |
629 | } | 629 | } |
630 | 630 | ||
@@ -738,7 +738,7 @@ func_export untar | |||
738 | # multiple SSH sessions | 738 | # multiple SSH sessions |
739 | function freshen_tmux | 739 | function freshen_tmux |
740 | { | 740 | { |
741 | eval $(tmux show-environment -g | egrep '^(SSH_|DISPLAY|TERM_BG_SHADE)' | xargs -n1 -d '\n' echo "export") | 741 | eval $(tmux show-environment -g | grep -E '^(SSH_|DISPLAY|TERM_BG_SHADE)' | xargs -n1 -d '\n' echo "export") |
742 | } | 742 | } |
743 | func_export freshen_tmux | 743 | func_export freshen_tmux |
744 | 744 | ||