Cook the Shrimp:
Heat 1 tablespoon of oil in a large wok or skillet over medium-high heat.
Add shrimp, season with salt and pepper, and cook for 2–3 minutes per side until pink and opaque.
Remove shrimp from the pan and set aside.
Sauté the Veggies:
In the same pan, add the remaining tablespoon of oil.
Add onion, garlic, and bell pepper, and cook for 2–3 minutes until fragrant.
Stir in the pineapple and cook another 2 minutes for caramelized edges.
Add the Rice:
Add the cold jasmine rice to the pan and break up any clumps.
Pour in soy sauce, oyster sauce, and sesame oil. Stir well to coat evenly.
Add the Eggs:
Push the rice mixture to one side of the pan and pour in the beaten eggs.
Scramble until cooked, then stir to combine with the rice.
Combine and Serve:
Return shrimp to the pan and toss everything together.
Stir in chopped green onions and roasted cashews.
Serve hot with a squeeze of lime juice if desired.