diff options
author | Nicholas Pilon <npilon@gmail.com> | 2006-02-06 05:48:30 +1000 |
---|---|---|
committer | Nicholas Pilon <npilon@gmail.com> | 2006-02-06 05:48:30 +1000 |
commit | 89ae02976f2cffcc721006a7f7be0c667826447e (patch) | |
tree | fe6453c1418dcfb0e1465a970dcd3b851aa48fa4 /init | |
parent | d8382acc74a27df0a4f81057e716ee5266622026 (diff) |
Completion: System Commands
Tiny tweak to sed expression to get descriptions for system commands too.
darcs-hash:20060205194830-494f2-1f1df9c2d4d1d2302e34df113c4919078388aa1a.gz
Diffstat (limited to 'init')
-rw-r--r-- | init/fish_function.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/fish_function.fish b/init/fish_function.fish index 413a2515..73b65be6 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 # |