summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-12-25 14:21:51 +0000
committerIan C <ianc@noddybox.co.uk>2023-12-25 14:21:51 +0000
commitf420c3e27c970e44ebfa1ed6e1839079575800db (patch)
tree3bb5cf66596dd139091f46dba79edc405045008c
parent8c62cfcff0c0727491aaa54e5288bf315716e7e8 (diff)
Changed fgrep to grep -F
-rw-r--r--dotrc/.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotrc/.bashrc b/dotrc/.bashrc
index 0c33436..9526beb 100644
--- a/dotrc/.bashrc
+++ b/dotrc/.bashrc
@@ -6,10 +6,10 @@ test -s $HOME/.bash_aliases && . $HOME/.bash_aliases
test -s $HOME/.bash_aliases.local && . $HOME/.bash_aliases.local
-if [ ! "$(echo $PATH | fgrep $HOME/bin)" ] ; then
+if [ ! "$(echo $PATH | grep -F $HOME/bin)" ] ; then
export PATH=$HOME/bin:$PATH
fi
-if [ ! "$(echo $PATH | fgrep $HOME/.local/bin)" ] ; then
+if [ ! "$(echo $PATH | grep -F $HOME/.local/bin)" ] ; then
export PATH=$HOME/.local/bin:$PATH
fi