aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 37b5519..b033207 100644
--- a/bashrc
+++ b/bashrc
@@ -3,10 +3,12 @@
pathadd() {
if [ -d "$1" ] && [[ "$PATH" != *"$1"* ]]; then
- PATH=$PATH":$1"
+ PATH="$1":$PATH
fi
}
+pathadd /bin
+pathadd /sbin
pathadd ${HOME}/.local/bin
if [[ -z "$DOTFILES_LOCATION" ]]