diff --git a/doc_src/cmds/true.rst b/doc_src/cmds/true.rst index 9ffa1667f..d1be24be2 100644 --- a/doc_src/cmds/true.rst +++ b/doc_src/cmds/true.rst @@ -15,6 +15,8 @@ Description ``true`` sets the exit status to 0. +**:** (a single colon) is an alias for the ``true`` command. + See Also -------- diff --git a/share/functions/help.fish b/share/functions/help.fish index 876852bd5..a1437cb40 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -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-*'