Skip to content

Instantly share code, notes, and snippets.

View mfontani's full-sized avatar

Marco Fontani mfontani

View GitHub Profile
"" Marco Fontani - [email protected]
set nocompatible
"" fix title string under iTerm
set t_ts=]1;
" ensure the shell is interactive, so values prepended to $PATH are kept, and
" so that plenv and similar actually work
set shell=$SHELL\ -l

Keybase proof

I hereby claim:

  • I am mfontani on github.
  • I am mfontani (https://keybase.io/mfontani) on keybase.
  • I have a public key whose fingerprint is 809D 2E19 BAAB 34F0 F06B A9FE 0082 DA0D 3C87 9073

To claim this, I am signing this object:

#!/bin/sh
# The first comments out the "Conflicts:" part of a merge commit.
# The second creates a template for a commit message
# The third example adds a Signed-off-by line to the message, that can
# still be edited. This is rarely a good idea.
# This hook is invoked by git commit right after preparing the default log
# message, and before the editor is started.
# It takes one to three parameters. The first is the name of the file that
# contains the commit log message. The second is the source of the commit
#!/usr/bin/env perl
use 5.020_000;
use warnings;
# Based on Damian Conway's bin/file_template
my %TEMPLATE_FOR = (
'.sh' => \&gen_sh_file,
'.pm' => \&gen_pm_file,
'.pl' => \&gen_pl_file,