An armed woman attacked two friends at a petrol station.
Helen Lawrence targeted the pair at the Texaco garage in Bell Hill Road, Bristol Crown Court heard.
After both were attacked and their car was damaged they managed to drive off.
Lawrence, 41, of Sunny Bank in Speedwell, pleaded guilty to assault, theft and possession of a blade after the incident on March 23.
The court heard at the time she was suffering from bi-polar affective disorder.
Judge James Patrick handed her a hospital order under the Mental Health Act.
He told her: “I’m quite satisfied that you suffer from a mental disorder that makes it appropriate for you to be detained in hospital for medical treatment.”
Nicholas Fridd, prosecuting, said Lawrence abused Shanade Bird, pulled her hair and dragged her from the VW Golf.
Lawrence then tried to grab Charlotte Kimberley’s hair before ripping out her earring.
Both women were then able to get to safety, during which Lawrence stole a pouch of tobacco from their car.
They then managed to get back in the car and drive off.
Both women noticed Lawrence had a red knife, which police found on her.
Virginia Cornwall, defending, said his client was making progress at a hospital in Northampton.
He told the court: “A bed is available for her.”
For the latest news in and around Bristol, check back on Bristol Live’s homepage.