What's the specific line you added to the profile to add the colors? There may be a syntax issue somewhere.
Alternatively, if you think the syntax is ok, then you can always escape a return character when you get to the end of the window for a long command. To do this, at any point in the command string you can type a back-slash, and then press Enter to get to a new line and continue the command, such as the following to run the deeply buried "lsregister" command (you can copy these four lines and paste them in the Terminal, and the "lsregister" command will be run):
/System/Library/Frameworks/CoreSe\
rvices.framework/Versions/A/Framewo\
rks/LaunchServices.framework/Versio\
ns/A/Support/lsregister