aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-07 21:35:44 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-07 21:35:44 +1300
commit6d478a815ab3575345c93992b3f734d628a2af60 (patch)
treec1544f65849f45745073a2b9914cfeb085f4d7fe /bash
parentImprovements to path() (diff)
downloaddotfiles-6d478a815ab3575345c93992b3f734d628a2af60.tar.gz
dotfiles-6d478a815ab3575345c93992b3f734d628a2af60.zip
Remove misplaced \0 in completion func
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_completion.d/path.bash2
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
;;