Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 955 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 955 Bytes

header42

42 (Paris)

Description

42 standard header rewritten as a python script and working with stdin/stdout so I can use it as a custom formatter chain in Helix editor.

42 header

UNIX Setup

Option 1: export USER and MAIL in your shell configuration file

Add in ~/.zshrc your:

  • USER
  • MAIL

Usage

$ nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'

$ nix-shell -p $(readlink -f result)

$ cat <filename> | header42 <filename>

Credits

@zazard - creator
@alexandregv - contributor
@mjacq42 - contributor
@sungmcho - contributor
@jukefr - python rewrite

License

This work is published under the terms of 42 Unlicense.