diff --git a/doc_src/index.rst b/doc_src/index.rst index 663b95194..e61f74746 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -105,7 +105,7 @@ To add ``~/linux/bin`` to PATH variable when using a login shell, add this to `` set -gx PATH $PATH ~/linux/bin end -This is just an exmaple; using :ref:`fish_add_path ` e.g. ``fish_add_path ~/linux/bin`` which only adds the path if it isn't included yet is easier. +This is just an example; using :ref:`fish_add_path ` e.g. ``fish_add_path ~/linux/bin`` which only adds the path if it isn't included yet is easier. To run commands on exit, use an :ref:`event handler ` that is triggered by the exit of the shell:: diff --git a/doc_src/language.rst b/doc_src/language.rst index beab0ff91..dcb0ea1ce 100644 --- a/doc_src/language.rst +++ b/doc_src/language.rst @@ -1465,7 +1465,7 @@ The "locale" of a program is its set of language and regional settings that depe .. envvar:: LANG - This is the typpical environment variable for specifying a locale. A user may set this variable to express the language they speak, their region, and a character encoding. The actual values are specific to their platform, except for special values like ``C`` or ``POSIX``. + This is the typical environment variable for specifying a locale. A user may set this variable to express the language they speak, their region, and a character encoding. The actual values are specific to their platform, except for special values like ``C`` or ``POSIX``. .. envvar:: LC_ALL