ssh.exe localhost -new_console:t:"ssh localhost"
ConEmuC -StoreCWD;
ConEmuC -GuiMacro Rename 0 "$PWD"Sending environment variables has no sense - they are not available to ConEmu and while using ssh there is no moment when you may "forward" variables to ConEmu.
Instead you have to use PS1.
[cygwin/msys connector](https://conemu.github.io/en/CygwinMsysConnector.html)
[ConEmu specific OSC](https://conemu.github.io/en/AnsiEscapeCodes.html#ConEmu_specific_OSC)
# cd /home/gene
# echo $'\e]9;3;""\e\\'
# echo $'\e]9;9;"'$PWD$'"\e\\'
# echo $'\e]9;9;"'$(cygpath -w $PWD)$'"\e\\'
esc=$(printf '\033')
esc=$'\e'