Skip to content

Instantly share code, notes, and snippets.

@bluebear94
Created April 18, 2016 08:40
Show Gist options
  • Save bluebear94/96fa2b6a60c4522e771495ef4b0326a0 to your computer and use it in GitHub Desktop.
Save bluebear94/96fa2b6a60c4522e771495ef4b0326a0 to your computer and use it in GitHub Desktop.
Shit - a distributed stink control system
# Define these two functions in your .bashrc.
function subshit {
sed -b "s/git/shit/g;s/Git/Shit/g;s/GIT/SHIT/g"
}
function shit {
set -o pipefail
(git $@ | subshit) 3>&1 1>&2 2>&3 | subshit 3>&1 1>&2 2>&3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment