From f420c3e27c970e44ebfa1ed6e1839079575800db Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 25 Dec 2023 14:21:51 +0000 Subject: Changed fgrep to grep -F --- dotrc/.bashrc | 4 ++-- 1 file 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 -- cgit v1.2.3