From c1a39ead3658b51d00e4547ce6f7c2b36129ac68 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 26 Nov 2015 18:37:03 +1300 Subject: Shellquote man(1) page names --- bash/bashrc.d/man.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') 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 -- cgit v1.2.3