mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 02:45:53 +08:00
help: Handle the missing builtin aliases : and [
This commit is contained in:
parent
9492628b08
commit
9c16677706
@ -15,6 +15,8 @@ Description
|
||||
|
||||
``true`` sets the exit status to 0.
|
||||
|
||||
**:** (a single colon) is an alias for the ``true`` command.
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
|
@ -127,6 +127,10 @@ function help --description 'Show help for the fish shell'
|
||||
switch "$fish_help_item"
|
||||
case "."
|
||||
set fish_help_page "cmds/source.html"
|
||||
case ":"
|
||||
set fish_help_page "cmds/true.html"
|
||||
case "["
|
||||
set fish_help_page "cmds/test.html"
|
||||
case globbing
|
||||
set fish_help_page "language.html#expand"
|
||||
case 'completion-*'
|
||||
|
Loading…
x
Reference in New Issue
Block a user