diff --git a/docs/bash_to_xsh.rst b/docs/bash_to_xsh.rst index e86226078..d9dbe4526 100644 --- a/docs/bash_to_xsh.rst +++ b/docs/bash_to_xsh.rst @@ -55,7 +55,7 @@ line is ``#!/usr/bin/env xonsh``. - ``_.rtn`` - Returns the exit code, or status, of the previous command. The underscore ``_`` is working in the prompt mode. To get the exit code of the command in xonsh script - use captured subprocess `!().rtn`. + use captured subprocess ``!().rtn``. * - ``N=V command`` - ``$N=V command`` or ``with ${...}.swap(N=V): command`` - Set temporary environment variable(s) and execute the command.