Skip to content

Instantly share code, notes, and snippets.

View yifeiyin's full-sized avatar
🧼

Yifei Yin yifeiyin

🧼
View GitHub Profile
@yifeiyin
yifeiyin / uninstall_shell_integration.sh
Created June 8, 2020 19:51 — 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."