diff options
author | Ian C <ianc@noddybox.co.uk> | 2024-01-06 22:47:57 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2024-01-06 22:47:57 +0000 |
commit | dd6159846215c569341c99af794cc7e5b5a258c3 (patch) | |
tree | 7b5ca60207abef7d7add7ed1b8d70553cc496785 /dotrc | |
parent | bcb81858d5fb6a6b28c5c5e2b02ab5e4bbaed93d (diff) | |
parent | f420c3e27c970e44ebfa1ed6e1839079575800db (diff) |
Merge branch 'master' of https://deathstation9000.org.uk/git/shell-bin
Diffstat (limited to 'dotrc')
-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 |