From 80324c9d7fc5f993187cb00456505148ae96653c Mon Sep 17 00:00:00 2001
From: Fabian Boehm <FHomborg@gmail.com>
Date: Tue, 23 May 2023 16:48:28 +0200
Subject: [PATCH] docs: Fix link

---
 doc_src/language.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc_src/language.rst b/doc_src/language.rst
index 29cb83751..3cc17a800 100644
--- a/doc_src/language.rst
+++ b/doc_src/language.rst
@@ -766,7 +766,7 @@ If you want to give the command an argument inside the variable it needs to be a
 
 Also like other shells, this only works with commands, builtins and functions - it will not work with keywords because they have syntactical importance.
 
-For instance ``set if $if`` won't allow you to make an if-block, and ``set cmd command`` won't allow you to use the :cmds:`command <command>` decorator, but only uses like ``$cmd -q foo``.
+For instance ``set if $if`` won't allow you to make an if-block, and ``set cmd command`` won't allow you to use the :doc:`command <cmds/command>` decorator, but only uses like ``$cmd -q foo``.
 
 
 .. _expand-command-substitution: