aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-06 16:25:10 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-06 16:25:59 -0700
commitee8fd21d28c7ac7bc236d61809750fcff41bb240 (patch)
tree594f330b6aad4cde6bf608b64884b64eef9fee22 /share
parent232ed91ec7537cf28ecb480e49dd7896f0a79d05 (diff)
Don't hang if stdin is closed and we have no bindings
Diffstat (limited to 'share')
-rw-r--r--share/functions/__fish_print_help.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_print_help.fish b/share/functions/__fish_print_help.fish
index 08a70f72..07eb25f6 100644
--- a/share/functions/__fish_print_help.fish
+++ b/share/functions/__fish_print_help.fish
@@ -23,7 +23,7 @@ function __fish_print_help --description "Print help message for the specified f
set -l sed_cmd -e $cmd1 -e $cmd2 -e $cmd3
# Render help output, save output into the variable 'help'
- set -l help (nroff -man $__fish_datadir/man/man1/$item.1)
+ set -l help (nroff -man "$__fish_datadir/man/man1/$item.1")
set -l lines (count $help)
# Print an empty line first