diff options
author | Ian C <ianc@noddybox.co.uk> | 2023-12-25 14:21:51 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2023-12-25 14:21:51 +0000 |
commit | f420c3e27c970e44ebfa1ed6e1839079575800db (patch) | |
tree | 3bb5cf66596dd139091f46dba79edc405045008c /dotrc/.bashrc | |
parent | 8c62cfcff0c0727491aaa54e5288bf315716e7e8 (diff) |
Changed fgrep to grep -F
Diffstat (limited to 'dotrc/.bashrc')
-rw-r--r-- | dotrc/.bashrc | 4 |
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 |