aboutsummaryrefslogtreecommitdiff
path: root/dot_zsh
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-10-29 11:44:21 -0400
committerRyan Kavanagh <rak@rak.ac>2022-10-29 11:44:21 -0400
commit5f8e0696397913b6797f0c971cb18fc94973f8c8 (patch)
tree32ca68e2ebb838618ac45596333610fc4f05e533 /dot_zsh
parentadd workspaces to xmonad (diff)
drop egrep from zshrc
Diffstat (limited to '')
-rw-r--r--dot_zshrc.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 8319d68..beb6023 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -32,8 +32,8 @@
# BEGIN LOCAL
-if ! export LANG=$(locale -a | egrep -i "en_CA.UTF-?8"); then
- if ! export LANG=$(locale -a | egrep -i "C.UTF-?8"); then
+if ! export LANG=$(locale -a | grep -E -i "en_CA.UTF-?8"); then
+ if ! export LANG=$(locale -a | grep -E -i "C.UTF-?8"); then
export LANG=C
fi
fi
@@ -649,7 +649,7 @@ NO_verbose \
# GPG / SSH AGENT
if command -v keychain > /dev/null && test -d ~/.ssh/keys/{{ .chezmoi.hostname }}; then
- ls ~/.ssh/keys/{{ .chezmoi.hostname }}/id_* | egrep -v '\.pub$' | xargs keychain
+ ls ~/.ssh/keys/{{ .chezmoi.hostname }}/id_* | grep -E -v '\.pub$' | xargs keychain
[ -z "$HOSTNAME" ] && HOSTNAME=`uname -n`
[ -f $HOME/.keychain/$HOSTNAME-sh ] &&
. $HOME/.keychain/$HOSTNAME-sh