Skip to content

Instantly share code, notes, and snippets.

@powellnathanj
Created March 28, 2010 01:16
Show Gist options
  • Save powellnathanj/346482 to your computer and use it in GitHub Desktop.
Save powellnathanj/346482 to your computer and use it in GitHub Desktop.
larry(){
history|sort -r|sed -s 's/^ [0-9]* //'|while read i;do if [[ "$i" =~ ^ruby || "$i" =~ ^cuc ]];then echo $i|sh;exit;fi;done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment