Skip to content

Instantly share code, notes, and snippets.

@sionide21
Created March 21, 2010 13:22
Show Gist options
  • Save sionide21/339297 to your computer and use it in GitHub Desktop.
Save sionide21/339297 to your computer and use it in GitHub Desktop.
old()
{
command=$1
shift
$(which -a $command | head -n 2 | tail -n 1) $@
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment