aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/eds.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_completion.d/eds.bash')
-rw-r--r--bash/bash_completion.d/eds.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bash_completion.d/eds.bash b/bash/bash_completion.d/eds.bash
index 371962ca..01db4129 100644
--- a/bash/bash_completion.d/eds.bash
+++ b/bash/bash_completion.d/eds.bash
@@ -26,9 +26,9 @@ _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 '%s/' "${file##*/}"
done
)
}
-complete -F _eds eds
+complete -F _eds -o filenames eds