rewrite iterm_profile conditionals