Skip to content

Instantly share code, notes, and snippets.

View csuarez's full-sized avatar

César Suárez Ortega csuarez

View GitHub Profile
@csuarez
csuarez / uninstall_shell_integration.sh
Created October 15, 2016 11:13 — forked from victor-torres/uninstall_shell_integration.sh
Uninstalling shell integration from iTerm 2
#!/bin/bash
function die() {
echo "${1}"
exit 1
}
which printf > /dev/null 2>&1 || die "Shell integration requires the printf binary to be in your path."
which sed > /dev/null 2>&1 || die "Shell integration requires the sed binary to be in your path."