diff --git a/doc_src/commands.rst b/doc_src/commands.rst index cdeae4df9..3242e59e7 100644 --- a/doc_src/commands.rst +++ b/doc_src/commands.rst @@ -20,19 +20,18 @@ Core language keywords that make up the syntax, like - :doc:`begin ` to begin a block and :doc:`end ` to end any block (including ifs and loops). - :doc:`and `, :doc:`or ` and :doc:`not ` to combine commands logically. - :doc:`switch ` and :doc:`case ` to make multiple blocks depending on the value of a variable. +- :doc:`command ` or :doc:`builtin ` to tell fish what sort of thing to execute +- :doc:`time ` to time execution +- :doc:`exec ` tells fish to replace itself with a command. -Decorations -^^^^^^^^^^^ - -Command decorations are keywords like :doc:`command ` or :doc:`builtin ` to tell fish what sort of thing to execute, and :doc:`time ` to time its execution. :doc:`exec ` tells fish to replace itself with the command. - -Tools to do a task -^^^^^^^^^^^^^^^^^^ +Tools +^^^^^ Builtins to do a task, like - :doc:`cd ` to change the current directory. - :doc:`echo ` or :doc:`printf ` to produce output. +- :doc:`set_color ` to colorize output. - :doc:`set ` to set, query or erase variables. - :doc:`read ` to read input. - :doc:`string ` for string manipulation. @@ -42,11 +41,11 @@ Builtins to do a task, like - :doc:`type ` to find out what sort of thing (command, builtin or function) fish would call, or if it exists at all. - :doc:`test ` checks conditions like if a file exists or a string is empty. - :doc:`contains ` to see if a list contains an entry. -- :doc:`abbr ` manages :ref:`abbreviations`. - :doc:`eval ` and :doc:`source ` to run fish code from a string or file. -- :doc:`set_color ` to colorize your output. - :doc:`status ` to get shell information, like whether it's interactive or a login shell, or which file it is currently running. +- :doc:`abbr ` manages :ref:`abbreviations`. - :doc:`bind ` to change bindings. +- :doc:`complete ` manages :ref:`completions `. - :doc:`commandline ` to get or change the commandline contents. - :doc:`fish_config ` to easily change fish's configuration, like the prompt or colorscheme. - :doc:`random ` to generate random numbers or pick from a list. @@ -76,6 +75,7 @@ Some helper functions, often to give you information for use in your prompt: - :doc:`fish_is_root_user ` to check if the current user is an administrator user like root. - :doc:`fish_add_path ` to easily add a path to $PATH. - :doc:`alias ` to quickly define wrapper functions ("aliases"). +- :doc:`fish_delta ` to show what you have changed from the default configuration. Helper commands ^^^^^^^^^^^^^^^