Cook the pasta according to the package directions. Drain the pasta and return it to the pot. Meanwhile, heat the oil in a large skillet over medium heat. Add the garlic and cook, stirring, for 1 minute (do not let it brown). Add the shrimp, wine, red pepper, and 1/2 teaspoon salt. Simmer until the shrimp are opaque, 2 to 3 minutes. Stir in the butter until melted. Toss the pasta with the shrimp mixture.