Heat the oil in a wok or skillet over high heat. Add the shallot and garlic and cook about 1 minute or until fragrant being careful not to burn the garlic. Add the chopped pepper and cook until it begins to soften. Add the snow peas and cook until crisp-tender, about 3 minutes.