diff --git a/windows-3-hyper-preferences.png b/windows-3-hyper-preferences.png new file mode 100644 index 0000000..ef8d9a0 Binary files /dev/null and b/windows-3-hyper-preferences.png differ diff --git a/windows.md b/windows.md index eba6533..ea951ba 100644 --- a/windows.md +++ b/windows.md @@ -57,10 +57,17 @@ If you had any previous settings beforehand, you may notice that some text above will be underlined by a squiggly yellow line. This is a warning because we pasted some duplicate properties from the code above.

If you have any of these warnings, we should fix them. For each one of these lines with the warnings on them, delete the full line, including the comma at the end. We usually like to select from the start of the first `"` to just before the next `"` on the next line:



-11. If you haven't set a name on GitHub yet, go to the [GitHub Profile Settings](https://github.com/settings/profile) and add a name:

+11. On Windows we will also configure Hyper.

+ Open Hyper and then select Edit -> Preferences, which will open a text file in an editor:

+

+ In this file, we will do three things:

+ 1. Find `shell: '',` and replace it with `shell: 'C:\\Program Files\\Git\\git-cmd.exe',` + 2. Find `shellArgs: ['--login'],` and replace it with `shellArgs: ['--command=usr/bin/bash.exe', '-l', '-i'],` + 3. Find `env: {},` and replace it with `env: { TERM: 'cygwin' },` +12. If you haven't set a name on GitHub yet, go to the [GitHub Profile Settings](https://github.com/settings/profile) and add a name:



We will use this name in the next step.

-12. For this step, we'll need to **edit some of the information in the commands** by adding our own information.

+13. For this step, we'll need to **edit some of the information in the commands** by adding our own information.

First of all, we will set our name, which will be the same name as on our GitHub profile:



Copy your name from your profile, **add it in quotes** in the command (replace `Mona Lisa Octocat`) and run the command:

@@ -80,7 +87,7 @@ git config --global user.email ``` This prepares `git` so that your work is attributed correctly to you.

-13. Copy the following text, paste it in the terminal and hit return.

+14. Copy the following text, paste it in the terminal and hit return.

```sh git config --global credential.helper wincred ```