diff --git a/README.md b/README.md index 6408305..6519126 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,18 @@ export MAIL="marvin@student.42lausanne.ch" ### **Note** -Your git username and email will always have the priority to $USER and $MAIL variable -if you are outside a git tree and $USER and $MAIL are not defined it will use the -default marvin@student.42lausanne.ch as email and marvin as login for your header. +- Your git username and email will always have the priority over $USER and $MAIL variables. +- if you are outside a git repo tree, it will use the $USER and $MAIL environement variables. +- if none of the above, it will default to marvin@student.42lausanne.ch and marvin as username. + +Troubleshooting: +``` +git config user.name +git config user.email +echo $USER +echo $MAIL +grep -e 'USER=' -e 'MAIL=' ~/.zshrc +``` The location of this alternative version of stdheader.vim: - ~/.vim/plugin/stdheader.vim