mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
Completion: System Commands
Tiny tweak to sed expression to get descriptions for system commands too. darcs-hash:20060205194830-494f2-1f1df9c2d4d1d2302e34df113c4919078388aa1a.gz
This commit is contained in:
parent
d8382acc74
commit
89ae02976f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue