summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile13
1 files changed, 9 insertions, 4 deletions
diff --git a/.bash_profile b/.bash_profile
index b8ea799..175d556 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -5,10 +5,15 @@
source "${HOME}/.config/shell/profile"
+
+declare -a paths=("$HOME/.local/bin" \
+ "$HOME/.local/share/nvim/mason/bin" \
+)
+
# add user's bin directory to path
-if [ -d "${HOME}/.local/bin" ]
-then
- export PATH="${HOME}/.local/bin:${PATH}"
-fi
+for path in "${paths[@]}"; do
+ [ -d "$path" ] && \
+ export PATH="$path:${PATH}"
+done
source "${HOME}/.bashrc"