mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 15:53:01 +08: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
|
@ -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 New Issue
Block a user