putty-color-themes
putty-color-themes copied to clipboard
Apply to certain saved sessions?
Is there a way to apply to certain saved sessions? I only see the ability to apply for all putty sessions.
You can modify the reg file, editing the line that has the Sessions part to an already existing session:
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\session-name-you-want-to-apply]
That way, when you import the reg file it will be applied to only that saved session :-)
Source: https://superuser.com/a/766901
zetxek fix doesn't work although it seems intuitive yes just put session-name-you-want-to-apply and you are done. However, the effect I am seeing is that all of my sessions are set to the color theme. That "session-name-you-want-to-apply" is not used nor the key prefix HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions. line 130 in _puttycolor.js is a recursive regex match for \(.*?) basically all subfolders.
We definitely would like to have a different color theme per session (red for production), blue for test, etc... A default _puttycolor.js IS good as is where it changes all defaults and all sessions You run that first and it changes scheme for all possible sessions including default.
Then copy _puttycolor.js to _puttycolor-
Then go to line 130 in _puttycolor-