Skip to content

Instantly share code, notes, and snippets.

@johnewart
Created June 27, 2019 23:10
Show Gist options
  • Save johnewart/5be1510c66bca1e87763f6142b7c6744 to your computer and use it in GitHub Desktop.
Save johnewart/5be1510c66bca1e87763f6142b7c6744 to your computer and use it in GitHub Desktop.
STRACE ALL THE THINGS
export MYPATH="$PATH"
export PATH="."
command_not_found_handle() {
echo "STRACE ALL THE THINGS!"
PATH="$MYPATH"
strace -f -T -r $*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment