From 13e00b70a42959835190576a80fe9d8ebab062f2 Mon Sep 17 00:00:00 2001 From: Arash Outadi Date: Sat, 9 Oct 2021 13:44:17 -0700 Subject: [PATCH] docs: remove $ prompts to make it easier to copy paste --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9a9ceb884..85d8db602 100644 --- a/README.md +++ b/README.md @@ -70,16 +70,16 @@ Currently the easiest way to install Home Manager is as follows: 2. Add the appropriate Home Manager channel. If you are following Nixpkgs master or an unstable channel you can run - ```console - $ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager - $ nix-channel --update + ```shell + nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager + nix-channel --update ``` and if you follow a Nixpkgs version 21.05 channel you can run - ```console - $ nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager - $ nix-channel --update + ```shell + nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager + nix-channel --update ``` On NixOS you may need to log out and back in for the channel to @@ -93,8 +93,8 @@ Currently the easiest way to install Home Manager is as follows: 3. Install Home Manager and create the first Home Manager generation: - ```console - $ nix-shell '' -A install + ```shell + nix-shell '' -A install ``` Once finished, Home Manager should be active and available in your @@ -103,7 +103,7 @@ Currently the easiest way to install Home Manager is as follows: 3. If you do not plan on having Home Manager manage your shell configuration then you must source the - ``` + ```shell $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh ``` @@ -191,14 +191,14 @@ To satisfy the above setup we should elaborate the To activate this configuration you can then run -```console -$ home-manager switch +```shell +home-manager switch ``` or if you are not feeling so lucky, -```console -$ home-manager build +```shell +home-manager build ``` which will create a `result` link to a directory containing an @@ -208,8 +208,8 @@ Documentation of available configuration options, including descriptions and usage examples, is available in the [Home Manager manual][configuration options] or offline by running -```console -$ man home-configuration.nix +```shell +man home-configuration.nix ``` Rollbacks