summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2024-01-06 22:47:57 +0000
committerIan C <ianc@noddybox.co.uk>2024-01-06 22:47:57 +0000
commitdd6159846215c569341c99af794cc7e5b5a258c3 (patch)
tree7b5ca60207abef7d7add7ed1b8d70553cc496785
parentbcb81858d5fb6a6b28c5c5e2b02ab5e4bbaed93d (diff)
parentf420c3e27c970e44ebfa1ed6e1839079575800db (diff)
Merge branch 'master' of https://deathstation9000.org.uk/git/shell-bin
-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