Skip to content

ggjulio/42header_emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42 header for emacs

Install using the script :

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.

Manual install :

  1. Copy all files in folder ~/.emacs.d

  2. 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

  3. Header shortcut (C - C H) is now functional.