From 60ef7903e2ffe43292e25ba48426dad25ed440fc Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 6 Jul 2012 16:31:06 -0700 Subject: [PATCH] Tweaked __fish_print_help to not spew errors --- share/functions/__fish_print_help.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_print_help.fish b/share/functions/__fish_print_help.fish index 07eb25f62..1ea7393d8 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" ^ /dev/null ) set -l lines (count $help) # Print an empty line first