JessThrysoee/xtermcontrol — Issue #1: --get options apply settings from .xtermcontrol
Author: sagotsky
Created: 2011-12-22 19:14:30+00:00
State: open

When I use --get-bg and --get-fg to store current colors for later use, xtermcontrol applies whatever settings are in .xtermcontrol. This prevents me from getting all the existent settings since they're squashed after the first instance of xtermcontrol --get-bg.

I got around the problem by using --file=/dev/null, but IMO no --get option should be allowed to set anything.

https://github.com/sagotsky/.dotfiles/commit/77af7156ee97e0622219609042ca353c9c42d3fa is where I found this. I was trying to get hosts with .xtermcontrol files to color themselves automatically upon login and then revert to my normal settings when I closed the ssh connection.

Thanks!