From 4ccd4b9ccc393a39a1d1c9085d568622450ba4ea Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 27 Sep 2017 13:29:32 +0200 Subject: [PATCH] readme: add 'console' syntax highlighting (cherry picked from commit e1bceb2adb046d56b437d6c2c48fc717b0b028e3) --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 32960e91a..cb0517ba2 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Currently the easiest way to install Home Manager is as follows: 1. Make sure you have a working Nix installation. If you are not using NixOS then you may here have to run - ``` + ```console $ mkdir -m 0755 -p /nix/var/nix/{profiles,gcroots}/per-user/$USER ``` @@ -49,13 +49,13 @@ Currently the easiest way to install Home Manager is as follows: 2. Clone the Home Manager repository into the `~/.config/nixpkgs` directory: - ``` + ```console $ git clone -b master https://github.com/rycee/home-manager ~/.config/nixpkgs/home-manager ``` or - ``` + ```console $ git clone -b release-17.03 https://github.com/rycee/home-manager ~/.config/nixpkgs/home-manager ``` @@ -71,7 +71,7 @@ Currently the easiest way to install Home Manager is as follows: 4. Install the `home-manager` package: - ``` + ```console $ nix-env -f '' -iA home-manager installing ‘home-manager’ ``` @@ -123,13 +123,13 @@ First create a file `~/.config/nixpkgs/home.nix` containing To activate this configuration you can then run -``` +```console $ home-manager switch ``` or if you are not feeling so lucky, -``` +```console $ home-manager build ``` @@ -139,7 +139,7 @@ activation script and the generated home directory files. To see available configuration options with descriptions and usage examples run -``` +```console $ man home-configuration.nix ``` @@ -173,7 +173,7 @@ For example, suppose you have a wonderful, painstakingly created to your configuration. Attempting to switch to the generation will then result in -``` +```console $ home-manager switch … Activating checkLinkTargets