Fix set_header.sh
This commit is contained in:
10
README.md
10
README.md
@@ -26,9 +26,7 @@ vim Makefile
|
||||
Below replace "marvin" with your 42 Network login.
|
||||
|
||||
```
|
||||
export USER="marvin"
|
||||
|
||||
./set_header.sh
|
||||
USER="marvin" ./set_header.sh
|
||||
```
|
||||
|
||||
In all your git repositories:
|
||||
@@ -60,7 +58,6 @@ git config user.email "marvin@student.42lausanne.ch"
|
||||
UNIX/BSD Distro (MacOS X, FreeBSD, OpenBSD, etc.) edit `~/.zshrc`:
|
||||
```
|
||||
vim ~/.zshrc
|
||||
export USER="marvin"
|
||||
export MAIL="marvin@student.42lausanne.ch"
|
||||
<ESC> :wq
|
||||
source ~/.zshrc
|
||||
@@ -69,7 +66,6 @@ source ~/.zshrc
|
||||
Linux/GNU Distro (Debian/Ubuntu, RedHat/SuSE, Arch, Gentoo, etc.) edit `~/.bashrc`:
|
||||
```
|
||||
vim ~/.bashrc
|
||||
export USER="marvin"
|
||||
export MAIL="marvin@student.42lausanne.ch"
|
||||
<ESC> :wq
|
||||
source ~/.bashrc
|
||||
@@ -85,10 +81,10 @@ source ~/.bashrc
|
||||
Troubleshooting:
|
||||
```
|
||||
git config user.name
|
||||
git config user.email
|
||||
echo $USER
|
||||
git config user.email
|
||||
echo $MAIL
|
||||
grep -e 'USER=' -e 'MAIL=' ~/.zshrc
|
||||
grep -e ' USER=' -e ' MAIL=' ~/.zshrc
|
||||
```
|
||||
|
||||
The location of this alternative version of stdheader.vim:
|
||||
|
||||
Reference in New Issue
Block a user