diff options
Diffstat (limited to 'bash/bash_completion.d/path.bash')
-rw-r--r-- | bash/bash_completion.d/path.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/path.bash b/bash/bash_completion.d/path.bash index b8bdc6aa..60b36844 100644 --- a/bash/bash_completion.d/path.bash +++ b/bash/bash_completion.d/path.bash @@ -41,7 +41,7 @@ _path() { # Complete with directories from PATH remove) local -a promptarr - IFS=: read -d '' -a promptarr < <(printf '%s\0' "$PATH") + IFS=: read -rd '' -a promptarr < <(printf '%s\0' "$PATH") local part for part in "${promptarr[@]}" ; do [[ $part == "${COMP_WORDS[COMP_CWORD]}"* ]] || continue |