It sounds crazy, but if it were up to Arizona Wildcats coach Andy Lopez, all of his team's nonconference games would be tight, one-run games.

"It shows you have to play defense, pitch well in situations - you have to do some things to win a game," Lopez said. "That's what we'll have to do in the Pac-12."

The coach didn't quite get his wish Friday night, but it was close enough.

Sophomore second baseman Trent Gilbert delivered the decisive two-run double in the fifth inning - making a winner of starter Konner Wade - as Arizona topped San Francisco 6-4 at in the first of a three-game series at Hi Corbett Field this weekend.

It's the second straight Friday night the Cats (9-2) have won a drama-filled game. The UA, ranked 15th by Collegiate Baseball and 20th by Baseball America, topped San Jose State 8-7 in the opener last weekend on a walk-off hit.

"It's really important for us to play games like this," said UA junior third baseman Brandon Dixon, who was 4 for 4 with two runs scored in the win over the Dons. "Once we get to the Pac, every game is going to be close. It's going to be a grind.

"When you can figure out how to win and not just want to win, it makes a big difference."

The Cats took a 2-0 lead in the first inning on a two-run single from freshman shortstop Kevin Newman. After both teams traded runs in the third, the Dons scored three more off Wade in the fourth to go up 4-3.

Wade surrendered a home run to Bradley Zimmer in the inning, after giving up a third-inning home run to catcher Ryan Matranga.

It marked the first time a team has hit two home runs in a game at Hi Corbett since the UA moved to the field for the 2012 season.

"He wasn't mixing his pitches at all," Lopez said of Wade. "He has to do that and he knows that."

Wade threw up a zero in the fifth, and then his offense got him his lead back.

Gilbert roped a two-run, two-out double to right field in the fifth to give the Wildcats a 5-4 lead.

"He got a lot of big hits last year," Lopez said. "He does a great job of that."

Wade settled down after Gilbert's hit and got through the sixth and seventh with no more damage. All told, Wade went seven innings, giving up nine hits and four runs and improved to 2-0 on the season.

"Wade was good," Dixon said. "He figured it out. After the fourth inning, I saw what I've seen in him. His competitive side gets us what we need out of him. He's got great stuff and is very competitive. Every time he throws, I'm excited."

The Wildcats tacked on an insurance run in the eighth when freshman Zach Gibbons singled in Joe Maggi to make it 6-4.

Closer Mat Troupe, who entered with two outs in the eighth, shut things down with no problem to earn his fourth save on the season and lift the Wildcats.

"They played good baseball; we played good baseball and got a few more hits," Lopez said. "That's life."

Sophomore catcher Riley Moore was 2 for 5 with two runs scored in the win. The Wildcats and Dons (4-6) will resume their series today at 2 p.m. at Hi Corbett.