Skip to content

Instantly share code, notes, and snippets.

View matthew-hollick's full-sized avatar
🐬

Matthew Hollick matthew-hollick

🐬
View GitHub Profile
[alias]
# nice squashes https://gist.github.com/hlecuanda/c9a5091938cd6a7b585d
squash = "!f(){ git reset --soft HEAD~${1} && git commit --edit -m\"$(git log --format=%B --reverse HEAD..HEAD@{1})\"; };f"
# View abbreviated SHA, description, and history graph of the latest 20 commits
l = log --pretty=oneline -n 20 --graph --abbrev-commit
# View the current working tree status using the short format
#!/bin/bash
# Shell prompt based on the Solarized Dark theme.
# Screenshot: http://i.imgur.com/EkEtphC.png
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing.
# vim: set filetype=sh :
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then

Keybase proof

I hereby claim:

  • I am matthew-hollick on github.
  • I am mjh_1127 (https://keybase.io/mjh_1127) on keybase.
  • I have a public key whose fingerprint is 1EDA 215C 56DF A50D 6630 C2BD D1BB 5180 E5E4 68D1

To claim this, I am signing this object: