aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/path.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/path.bash')
-rw-r--r--bash/bashrc.d/path.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/path.bash b/bash/bashrc.d/path.bash
index 4ffdf0bd..80e45cc9 100644
--- a/bash/bashrc.d/path.bash
+++ b/bash/bashrc.d/path.bash
@@ -136,7 +136,7 @@ path() {
set|s)
local -a newpatharr
local part
- for part in "$@" ; do
+ for part ; do
newpatharr=("${newpatharr[@]}" "${part%/}")
done
PATH=$(IFS=: ; printf '%s' "${newpatharr[*]}")