aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc.d/man.bash2
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