Skip to content

Instantly share code, notes, and snippets.

@barbarj
Last active November 3, 2023 08:11
Show Gist options
  • Select an option

  • Save barbarj/f3959b6fab0fc04ae3b2225c3316757b to your computer and use it in GitHub Desktop.

Select an option

Save barbarj/f3959b6fab0fc04ae3b2225c3316757b to your computer and use it in GitHub Desktop.
How to put 42 header in emacs
  1. Clone the repo from https://github.com/sullivanv/emacs
  2. Move all of the files from inside of that directory into ~/.emacs.d, including the hidden file .emacs
  3. If you don't have a ~/.emacs.d directory, create one.
  4. Navigate to ~/.emacs.d and rename .emacs to init.el
  5. Open emacs and C-c C-h
  6. You've got it!

How to fix the email in your header

  1. In your home directory, find, or create if needed, a file called .zshrc
  • If your not at 42, you'll likely not be using zshell, so the file should instead be .bashrc
  1. Open that file and add a line with export MAIL=[youremailhere] to it.
  2. Save it, and relaunch your terminal.
  3. It should be fixed now. Try it out in emacs to be sure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment