forked from lewagon/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
27 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,35 +5,19 @@ Install | |
|
||
Your dotfiles are personal. [Fork this repo](https://github.com/lewagon/dotfiles/fork) on Github, and then clone it on your computer. | ||
|
||
```bash | ||
# Create a global variable storing | ||
# You need to replace what's *after* the equal sign by your own github username (case sensitive) | ||
# | ||
# e.g.: GITHUB_USERNAME=ssaunier | ||
# | ||
$ GITHUB_USERNAME=put_your_github_username_here | ||
``` | ||
# Don't copy paste this line, type it and put *your* | ||
$ GITHUB_USERNAME=my_github_username | ||
Then execute the 3 following lines **without changing** anything: | ||
|
||
``` | ||
$ mkdir -p ~/code/$GITHUB_USERNAME && cd $_ | ||
$ git clone [email protected]:$GITHUB_USERNAME/dotfiles.git | ||
$ cd dotfiles | ||
``` | ||
|
||
Run the `dotfiles` installer: | ||
|
||
```bash | ||
$ ./install.sh | ||
# Sure you did not just copy paste the previous line? Sure? OK go on! | ||
# You can copy paste this line *without changing anything* | ||
$ mkdir -p ~/code/$GITHUB_USERNAME && cd $_ && git clone [email protected]:$GITHUB_USERNAME/dotfiles.git && cd dotfiles | ||
``` | ||
|
||
Some files have been updated, you should push this changes back to GitHub. | ||
Run the `dotfiles` installer. It will prompt you for your name and your email. | ||
|
||
```bash | ||
$ git add gitconfig | ||
$ git commit --message "My identity for @lewagon in the gitconfig" | ||
$ git push origin master | ||
$ zsh install.sh | ||
``` | ||
|
||
You're all set! Go back to [lewagon/setup](https://github.com/lewagon/setup) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters