summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2022-02-08 16:28:53 +0000
committerIan C <ianc@noddybox.co.uk>2022-02-08 16:28:53 +0000
commit86df4f93b54735b94e063cac5f9f414ad0f6b14b (patch)
treeb5933137323721701f610bda7f570e2a2e5e1265
parentef75c82a4ebaacffbd4da2bf2ba866b083298f21 (diff)
Added ~/.local/bin to path
-rw-r--r--dotrc/.bashrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/dotrc/.bashrc b/dotrc/.bashrc
index 20eeedd..858116c 100644
--- a/dotrc/.bashrc
+++ b/dotrc/.bashrc
@@ -2,8 +2,12 @@ if [ "$PS1" != "" ] ; then
PS1="`hostname -s`$ "
fi
-test -s $HOME/.bash_aliases && . ~/.bash_aliases
+test -s $HOME/.bash_aliases && . $HOME/.bash_aliases
if [ ! "$(echo $PATH | fgrep $HOME/bin)" ] ; then
export PATH=$HOME/bin:$PATH
fi
+
+if [ ! "$(echo $PATH | fgrep $HOME/.local/bin)" ] ; then
+ export PATH=$HOME/.local/bin:$PATH
+fi