From a73d1c7f58304a6fdc48f9dd4bb63934140d1cce Mon Sep 17 00:00:00 2001 From: gbaconni Date: Thu, 28 Oct 2021 16:44:32 +0200 Subject: [PATCH] Is FT ready? --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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