Skip to content

Commit

Permalink
Add Windows Hyper configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Sep 5, 2019
1 parent 47dba8a commit 615465e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Binary file added windows-3-hyper-preferences.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions windows.md
Expand Up @@ -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.<br><br>
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:<br><br>
<img src="./general-5-vscode-settings-fix-warnings.png"><br><br>
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:<br><br>
11. On Windows we will also configure Hyper.<br><br>
Open Hyper and then select Edit -> Preferences, which will open a text file in an editor:<br><br>
<img src="./windows-3-hyper-preferences.png"><br><br>
In this file, we will do three things:<br><br>
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:<br><br>
<img src="./general-6-github-profile-settings.png"><br><br>
We will use this name in the next step.<br><br>
12. For this step, we'll need to **edit some of the information in the commands** by adding our own information.<br><br>
13. For this step, we'll need to **edit some of the information in the commands** by adding our own information.<br><br>
First of all, we will set our name, which will be the same name as on our GitHub profile:<br><br>
<img src="./general-7-github-name.png"><br><br>
Copy your name from your profile, **add it in quotes** in the command (replace `Mona Lisa Octocat`) and run the command:<br><br>
Expand All @@ -80,7 +87,7 @@
git config --global user.email
```
This prepares `git` so that your work is attributed correctly to you.<br><br>
13. Copy the following text, paste it in the terminal and hit return.<br><br>
14. Copy the following text, paste it in the terminal and hit return.<br><br>
```sh
git config --global credential.helper wincred
```
Expand Down

0 comments on commit 615465e

Please sign in to comment.