summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2023-08-28 08:06:30 -0700
committerMike Crute <mike@crute.us>2023-08-28 08:06:32 -0700
commit6d676ce8a98cb688b282c38e97c6062da510d5ca (patch)
tree23eaec38296dbef501503c29f5a997fa0678ba14
parent9bcf718508aff234670deaa478ef0fbdeb57034e (diff)
downloaddotfiles-6d676ce8a98cb688b282c38e97c6062da510d5ca.tar.bz2
dotfiles-6d676ce8a98cb688b282c38e97c6062da510d5ca.tar.xz
dotfiles-6d676ce8a98cb688b282c38e97c6062da510d5ca.zip
egrep is deprecated
-rw-r--r--.bash_completion.d/git-completion.bash2
-rw-r--r--.bashrc2
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
diff --git a/.bashrc b/.bashrc
index 2b0cf38..12f5e6e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -738,7 +738,7 @@ func_export untar
738# multiple SSH sessions 738# multiple SSH sessions
739function freshen_tmux 739function 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}
743func_export freshen_tmux 743func_export freshen_tmux
744 744