Cook the pasta according to the package directions. Drain pasta using a colander over a bowl. Combine shrimp, onions, and garlic in a small bowl. Heat a large skillet over medium-high heat. Add olive oil, swirl to coat. Add shrimp mixture, and saute for 4 minutes or until shrimp are done.