I'm looking for a sci-fi short story I read ages ago, where the crew of an experimental new spaceship that scans their minds to anticipate their orders get drunk one night and scan in the cat, which the ship starts treating like a member of crew.
When the ship gets attacked by aliens using a weapon that paralyses the humans, the computer displays the situation as a hologram, and the cat starts attacking the enemy diagram, guiding the ship to fight and win. As a reward, the crew give the cat all the luxuries it can eat.