From 68df9c581eb75846549215dcefb0eb735cef9141 Mon Sep 17 00:00:00 2001 From: Alicia Hadingham <47177458+AliciaHadingham@users.noreply.github.com> Date: Fri, 29 Jul 2022 11:27:07 +0100 Subject: [PATCH 1/2] Adjusted hyperlink name --- _extras/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_extras/guide.md b/_extras/guide.md index e81c0952..64b544d8 100644 --- a/_extras/guide.md +++ b/_extras/guide.md @@ -30,7 +30,7 @@ In order to edit your command prompt, type `PS1='$ '` into your shell and press In order to reset the command prompt, type `source .bashrc` in order to source the bash profile, or type `PS1="\u@\h:\w $ "` in order to set the prompt to show username, "@", hostname, ":", and current working directory (ie. the user's current location within the filesystem). -NOTE: Editing the prompt is discussed in [lesson 01 - Introduction](https://datacarpentry.org/shell-genomics/01-introduction/index.html) under the 'Navigating your file system' section. This explains how to edit the prompt via `PS1='$ '` as here, so it would perhaps be best to *start* the lesson with the *default* prompt (as all the learners will and they can see that their screen will reassuringly match the instructor's screen at this point), and then instructors can choose to edit their prompt and talk through how they're doing that for learners' benefit at this section, or the instructor can just make the change early in the lesson for the visibility benefit, and explain to learners that they can find out how to do this in the lesson materials. +NOTE: Editing the prompt is discussed in [1. Introducing the Shell](https://datacarpentry.org/shell-genomics/01-introduction/index.html) under the 'Navigating your file system' section. This explains how to edit the prompt via `PS1='$ '` as here, so it would perhaps be best to *start* the lesson with the *default* prompt (as all the learners will and they can see that their screen will reassuringly match the instructor's screen at this point), and then instructors can choose to edit their prompt and talk through how they're doing that for learners' benefit at this section, or the instructor can just make the change early in the lesson for the visibility benefit, and explain to learners that they can find out how to do this in the lesson materials. Resetting the command prompt is not currently included in the lesson materials, so it might be useful to be familiar with this beforehand in case of learners' questions. From a815a2391d2e7f870950bcd2694da6d94d0f452e Mon Sep 17 00:00:00 2001 From: Alicia Hadingham <47177458+AliciaHadingham@users.noreply.github.com> Date: Tue, 11 Apr 2023 13:53:32 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Toby Hodges --- _extras/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_extras/guide.md b/_extras/guide.md index 64b544d8..a829b698 100644 --- a/_extras/guide.md +++ b/_extras/guide.md @@ -30,7 +30,7 @@ In order to edit your command prompt, type `PS1='$ '` into your shell and press In order to reset the command prompt, type `source .bashrc` in order to source the bash profile, or type `PS1="\u@\h:\w $ "` in order to set the prompt to show username, "@", hostname, ":", and current working directory (ie. the user's current location within the filesystem). -NOTE: Editing the prompt is discussed in [1. Introducing the Shell](https://datacarpentry.org/shell-genomics/01-introduction/index.html) under the 'Navigating your file system' section. This explains how to edit the prompt via `PS1='$ '` as here, so it would perhaps be best to *start* the lesson with the *default* prompt (as all the learners will and they can see that their screen will reassuringly match the instructor's screen at this point), and then instructors can choose to edit their prompt and talk through how they're doing that for learners' benefit at this section, or the instructor can just make the change early in the lesson for the visibility benefit, and explain to learners that they can find out how to do this in the lesson materials. +NOTE: Editing the prompt is discussed in [1. Introducing the Shell](https://datacarpentry.org/shell-genomics/01-introduction/index.html#navigating-your-file-system). This explains how to edit the prompt via `PS1='$ '` as here, so it would perhaps be best to *start* the lesson with the *default* prompt (as all the learners will and they can see that their screen will reassuringly match the instructor's screen at this point), and then instructors can choose to edit their prompt and talk through how they're doing that for learners' benefit at this section, or the instructor can just make the change early in the lesson for the visibility benefit, and explain to learners that they can find out how to do this in the lesson materials. Resetting the command prompt is not currently included in the lesson materials, so it might be useful to be familiar with this beforehand in case of learners' questions.