From cd283bb36e0513eec511f898777c45b99de5f9bb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 2 Dec 2018 21:25:18 +1300 Subject: Correct completion quoting for eds(1df) --- bash/bash_completion.d/eds.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bash/bash_completion.d') diff --git a/bash/bash_completion.d/eds.bash b/bash/bash_completion.d/eds.bash index 371962ca..c6bff655 100644 --- a/bash/bash_completion.d/eds.bash +++ b/bash/bash_completion.d/eds.bash @@ -26,8 +26,8 @@ _eds() { ! [[ -d $file ]] || continue # Skip non-executable files [[ -x $file ]] || continue - # Print entry, null-terminated - printf '%q\0' "${file##*/}" + # Print quoted entry, slash-terminated + printf '%q/' "${file##*/}" done ) } -- cgit v1.2.3