doc: fix highlighting of root commands
This commit is contained in:
parent
1afa5e257b
commit
2434984336
|
@ -159,7 +159,7 @@ $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|||
a Home Manager channel, for example
|
||||
</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 --update</userinput>
|
||||
</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
|
||||
</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 --update</userinput>
|
||||
</screen>
|
||||
|
@ -258,7 +258,7 @@ home-manager.useGlobalPkgs = true;
|
|||
a Home Manager channel, for example
|
||||
</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 --update</userinput>
|
||||
</screen>
|
||||
|
@ -267,7 +267,7 @@ home-manager.useGlobalPkgs = true;
|
|||
if you are following Nixpkgs master or an unstable channel and
|
||||
</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 --update</userinput>
|
||||
</screen>
|
||||
|
|
Loading…
Reference in a new issue