Disable yasnippet in term modes to fix tab completion bug.