diff options
Diffstat (limited to 'bash/bashrc.d/path.bash')
-rw-r--r-- | bash/bashrc.d/path.bash | 2 |
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[*]}") |