aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_completion.d/eds.bash4
1 files changed, 2 insertions, 2 deletions
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
)
}