summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/config-path4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/config-path b/.local/bin/config-path
index e06871f..6b9019c 100755
--- a/.local/bin/config-path
+++ b/.local/bin/config-path
@@ -31,12 +31,12 @@ for prefix in "${prefixes[@]}"; do
# PATH
dir="$prefix/bin"
if [[ -d "$dir" ]] && ! in_array "$dir" "${paths[@]}"; then
- paths+=("$dir")
+ paths=("$dir" "${paths[@]}")
fi
# RUBYLIB
dir="$prefix/lib"
if [[ -d "$dir" ]] && ! in_array "$dir" "${rubylibs[@]}"; then
- rubylibs+=("$dir")
+ rubylibs=("$dir" "${rubylibs[@]}")
fi
done