wiktionary
ref
quirk + -y
etymonline
ref
quirky (adj.)
1806, "shifty, abounding in quirks, irregular," from quirk (n.) + -y (2). Sense of "idiosyncratic" is attested by 1960. In the older sense, quirkish is from 1670s. Related: Quirkily; quirkiness.