diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-11-26 18:37:03 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-11-26 18:37:03 +1300 |
commit | c1a39ead3658b51d00e4547ce6f7c2b36129ac68 (patch) | |
tree | 135cf83496a6fb89966a8f798719dfdba36ffcab /bash | |
parent | Use slash as delimiter, fixing all these problems (diff) | |
download | dotfiles-c1a39ead3658b51d00e4547ce6f7c2b36129ac68.tar.gz dotfiles-c1a39ead3658b51d00e4547ce6f7c2b36129ac68.zip |
Shellquote man(1) page names
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/man.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/man.bash b/bash/bashrc.d/man.bash index ca8c02a1..4e656887 100644 --- a/bash/bashrc.d/man.bash +++ b/bash/bashrc.d/man.bash @@ -45,7 +45,7 @@ _man() { # Print the pages array to stdout, newline-separated; see above # explanation - (IFS=/ ; printf '%s\0' "${pages[*]}") + (IFS=/ ; printf '%q\0' "${pages[*]}") ) } complete -F _man -o default man |