diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-07 21:35:44 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-07 21:35:44 +1300 |
commit | 6d478a815ab3575345c93992b3f734d628a2af60 (patch) | |
tree | c1544f65849f45745073a2b9914cfeb085f4d7fe /bash/bash_completion.d | |
parent | Improvements to path() (diff) | |
download | dotfiles-6d478a815ab3575345c93992b3f734d628a2af60.tar.gz dotfiles-6d478a815ab3575345c93992b3f734d628a2af60.zip |
Remove misplaced \0 in completion func
Diffstat (limited to 'bash/bash_completion.d')
-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 e0e7732d..a65e10ce 100644 --- a/bash/bash_completion.d/path.bash +++ b/bash/bash_completion.d/path.bash @@ -49,7 +49,7 @@ _path() { local part for part in "${promptarr[@]}" ; do [[ $part == "${COMP_WORDS[COMP_CWORD]}"* ]] || continue - COMPREPLY[${#COMPREPLY[@]}]=$(printf '%q\0' "$part") + COMPREPLY[${#COMPREPLY[@]}]=$(printf '%q' "$part") done ;; |