From 6d478a815ab3575345c93992b3f734d628a2af60 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 7 Jan 2017 21:35:44 +1300 Subject: Remove misplaced \0 in completion func --- bash/bash_completion.d/path.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- cgit v1.2.3