Closed hikerspath closed 8 years ago
When completed with a run, I have to type exit once on the host, and twice in the opened sessions themselves due to the profile set commands. I would propose a simple change appended to line 172 on lib/i2cssh.rb
Original:
@term.sessions[@session_index + i].write :text => "unset HISTFILE && echo -e \"\\033]50;SetProfile=#{@profile}\\a\" && #{@ssh_prefix} #{send_env} #{server}"
Proposed:
@term.sessions[@session_index + i].write :text => "unset HISTFILE && echo -e \"\\033]50;SetProfile=#{@profile}\\a\" && #{@ssh_prefix} #{send_env} #{server} && exit"
When completed with a run, I have to type exit once on the host, and twice in the opened sessions themselves due to the profile set commands. I would propose a simple change appended to line 172 on lib/i2cssh.rb
Original:
Proposed: