mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
help: Handle the missing builtin aliases : and [
This commit is contained in:
@@ -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-*'
|
||||
|
||||
Reference in New Issue
Block a user