From 65f932edd260ea197b476b1976192d9ff2f71527 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Thu, 23 Jul 2020 22:27:32 +0200 Subject: [PATCH] docs: Also mention `functions` and `type` One of the nicest things about fish is how introspectable it is. We should probably get people to just mess around and see what is implemented how. This is a step in that direction. [ci skip] --- doc_src/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc_src/index.rst b/doc_src/index.rst index 26c138f17..1f54810ab 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -385,6 +385,8 @@ Fish's prompt is also defined in a function, called :ref:`fish_prompt `, and to save a function :ref:`funcsave `. This will store it in a function file that fish will :ref:`autoload ` when needed. +The :ref:`functions ` builtin can show a function's current definition (and :ref:`type ` will also do if given a function). + For more information on functions, see the documentation for the :ref:`function ` builtin. .. _syntax-function-wrappers: