doc: fix highlighting of root commands

This commit is contained in:
Robert Helgesson 2020-05-08 00:01:58 +02:00
parent 1afa5e257b
commit 2434984336
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -159,7 +159,7 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
a Home Manager channel, for example a Home Manager channel, for example
</para> </para>
<screen> <screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput> <prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>
@ -168,7 +168,7 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
if you are following Nixpkgs master or an unstable channel and if you are following Nixpkgs master or an unstable channel and
</para> </para>
<screen> <screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput> <prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>
@ -258,7 +258,7 @@ home-manager.useGlobalPkgs = true;
a Home Manager channel, for example a Home Manager channel, for example
</para> </para>
<screen> <screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput> <prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>
@ -267,7 +267,7 @@ home-manager.useGlobalPkgs = true;
if you are following Nixpkgs master or an unstable channel and if you are following Nixpkgs master or an unstable channel and
</para> </para>
<screen> <screen language="console">
<prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput> <prompt>#</prompt> <userinput>nix-channel --add https://github.com/rycee/home-manager/archive/release-20.03.tar.gz home-manager</userinput>
<prompt>#</prompt> <userinput>nix-channel --update</userinput> <prompt>#</prompt> <userinput>nix-channel --update</userinput>
</screen> </screen>