diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 21:25:18 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 21:25:18 +1300 |
commit | cd283bb36e0513eec511f898777c45b99de5f9bb (patch) | |
tree | 11715db1f970023a5299e7fffdb537cd496106d5 /bash/bash_completion.d | |
parent | Merge branch 'release/v2.7.0' into develop (diff) | |
download | dotfiles-cd283bb36e0513eec511f898777c45b99de5f9bb.tar.gz dotfiles-cd283bb36e0513eec511f898777c45b99de5f9bb.zip |
Correct completion quoting for eds(1df)
Diffstat (limited to 'bash/bash_completion.d')
-rw-r--r-- | bash/bash_completion.d/eds.bash | 4 |
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 ) } |