To set: $ set watch/class=major file Note: requires privileges. Doesn't complain if you don't have them, but it doesn't do anything either. To unset: $ set watch/class=nomajor file