TRIM
State, dress. In a sad trim; dirty.--Also spruce or fine: a trim fellow.

The 1811 Dictionary of the Vulgar Tongue.