I created a new command to replace all references with a text:
\newcommand{\Version}{1.0}
This works well in my texts. However, it does not work in this case:
\begin{fullwidth}
\begin{lstlisting}[language=bash]
mv ~/Downloads/application_\Version.bin .. # comment
\end{lstlisting}
\end{fullwidth} endcode
How can I do this? The expected result should replace \Version with 1.0