diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 23:11:55 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 23:11:55 +1300 |
commit | 3aa53b7ef6cf18fa13c1a00c529f04656f0bf747 (patch) | |
tree | 234f4facce6147d3f745ee48dc65ced2b251216f /bash/bash_completion.d | |
parent | Make bd() and sd() match quoted and unquoted words (diff) | |
download | dotfiles-3aa53b7ef6cf18fa13c1a00c529f04656f0bf747.tar.gz dotfiles-3aa53b7ef6cf18fa13c1a00c529f04656f0bf747.zip |
Use native filename quoting for td(1df) complete
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 c6bff655..01db4129 100644 --- a/bash/bash_completion.d/eds.bash +++ b/bash/bash_completion.d/eds.bash @@ -27,8 +27,8 @@ _eds() { # Skip non-executable files [[ -x $file ]] || continue # Print quoted entry, slash-terminated - printf '%q/' "${file##*/}" + printf '%s/' "${file##*/}" done ) } -complete -F _eds eds +complete -F _eds -o filenames eds |