git clone https://github.com/ggjulio/42header_emacs.git
cd 42header_emacs
./set_header.sh marvin marvin@42.fr # usage : ./set_header.sh [LOGIN] [MAIL]
source ~/.zshrc
cd ..
rm -rf 42header_emacs
Header shortcut (C - C H) is now functional.
-
Copy all files in folder ~/.emacs.d
-
Change user-login and user-email var in file "header.el"
-> optional :
1/ Creating an env variable. In ~/.zshrc or ~/bashrc add the folowing command :
export HEADER42_LOGIN="yourlogin"
export HEADER42_MAIL="yourlogin@student.42.fr"
2/ And run source ~/.zshrc or source ~/.bashrc to reload the source file -
Header shortcut (C - C H) is now functional.