Joined March 2016
·
Posted to
Change iTerm2 color profile from the CLI
over 1 year
ago
Does this still work for iTerm 3.0? When just calling echo -e "\033]50;SetProfile=PROFILE_NAME\a"
from the command line, where PROFILE_NAME is one of the names listed under Preferences > Colors > Color Presets..., it echoes a blank line but does not change the profile. I've tried everything from copying the name verbatim to replacing spaces with dashes or underscores to no avail.
W.R.T my previous question, I made the foolish mistake of conflating iTerm color schemes with profiles. Once I made new profile with a different color scheme, this worked.