1 pound raw shrimp (21-25 count), peeled and deveined, tails left on if desired
Using a spiral vegetable slicer or a vegetable peeler, cut zucchini lengthwise into long, thin strands or strips. Stop when you reach the seeds in the middle (seeds make the noodles fall apart). Place the zucchini "noodles" in a colander and toss with 1/2 teaspoon salt. Let drain for 15 to 30 minutes, then gently squeeze to remove any excess water.
Meanwhile, combine avocado, basil, pistachios, lemon juice, and the remaining 1/4 teaspoon salt in a food processor. Pulse until finely chopped. Add 1/4 cup oil and process until smooth.
Heat 1 tablespoon oil in a large skillet over medium-high heat. Add garlic and cook, stirring, for 30 seconds. Add shrimp; cook, stirring occasionally, until the shrimp is almost cooked through, 3 to 4 minutes. Transfer to a large bowl.
Add the remaining 1 tablespoon oil to the pan. Add the drained zucchini noodles and gently toss until hot, about 3 minutes. Transfer to the bowl, add the pesto and gently toss to combine.