From da97daa8001e107cecf48abec9dafca18b21be3c Mon Sep 17 00:00:00 2001 From: Karolina Gontarek Date: Tue, 13 Apr 2021 19:47:35 +0200 Subject: [PATCH] Add variable to Special variables section --- doc_src/language.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc_src/language.rst b/doc_src/language.rst index f032db20b..5a8d6d4bd 100644 --- a/doc_src/language.rst +++ b/doc_src/language.rst @@ -1262,6 +1262,8 @@ Fish also provides additional information through the values of certain environm - ``version``, the version of the currently running fish (also available as ``FISH_VERSION`` for backward compatibility). +- ``killring``, list of entries in fish kill ring. + As a convention, an uppercase name is usually used for exported variables, while lowercase variables are not exported. (``CMD_DURATION`` is an exception for historical reasons). This rule is not enforced by fish, but it is good coding practice to use casing to distinguish between exported and unexported variables. Fish also uses some variables internally, their name usually starting with ``__fish``. These are internal and should not typically be modified directly.