From 89ae02976f2cffcc721006a7f7be0c667826447e Mon Sep 17 00:00:00 2001 From: Nicholas Pilon Date: Mon, 6 Feb 2006 05:48:30 +1000 Subject: [PATCH] Completion: System Commands Tiny tweak to sed expression to get descriptions for system commands too. darcs-hash:20060205194830-494f2-1f1df9c2d4d1d2302e34df113c4919078388aa1a.gz --- init/fish_function.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/fish_function.fish b/init/fish_function.fish index 413a2515a..73b65be66 100644 --- a/init/fish_function.fish +++ b/init/fish_function.fish @@ -252,7 +252,7 @@ end # function __fish_describe_command -d "Command used to find descriptions for commands" - apropos $argv | sed -ne "s/^$argv\([^ ]*\) *(1) *- \(.*\)\$/$argv\1"\t"\2/p" + apropos $argv | sed -ne "s/^$argv\([^ ]*\) *([18]) *- \(.*\)\$/$argv\1"\t"\2/p" end #