aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-02 21:25:18 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-02 21:25:18 +1300
commitcd283bb36e0513eec511f898777c45b99de5f9bb (patch)
tree11715db1f970023a5299e7fffdb537cd496106d5 /bash
parent8da1390782433f5db906cf316ebdf607a4aa5301 (diff)
downloaddotfiles-cd283bb36e0513eec511f898777c45b99de5f9bb.tar.gz
dotfiles-cd283bb36e0513eec511f898777c45b99de5f9bb.zip
Correct completion quoting for eds(1df)
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
)
}