Live data from Hacker News

iTerm2 Shell Integration

iterm2.com

11–20 of 102 posts

Re: iTerm2 Shell Integration

#12

Funny how we just finished a discussion about "why haven't you switched to Fish yet," and now this comes along with not-fully-baked Fish support. :)

Update: I just tested it and fish 2.2 works great out of the box.

I haven't had a chance to test it yet, but I believe fish 2.2 will allow the baking to finish. Fish cleverly parses the prompt to figure out how long it is (vs bash which requires you to wrap nonprinting sequences in \[ and \]). Unfortunately fish's support for OSC codes was incomplete. This was a problem because shell integration uses them to report the current directory, hostname, prompt location, etc., so fish would wrap at the wrong location. I submitted a patch a while back, but I can't very well ask people to run a hacked version of their shell. So until a few days ago it was half baked. Now it's like 90% baked :)

Re: iTerm2 Shell Integration

#13
I'm here to answer questions anyone has about this. It's a newish feature so feedback is welcome, and bug reports are greatly appreciated.

Also, credit goes to FinalTerm for the inspiration. RIP.

Re: iTerm2 Shell Integration

#17

I'm here to answer questions anyone has about this. It's a newish feature so feedback is welcome, and bug reports are greatly appreciated. Also, credit goes to FinalTerm for the inspiration. RIP.

As an iterm2 and fish shell user I appreciate the work you guys are doing on bringing this to fish. Thank you! :)

Re: iTerm2 Shell Integration

#19

I'd love to use a terminal with similar features on linux

I found iterm2 to be my most-missed piece of software when switching to linux desktop. Terminator just doesn't compare with ease-of-use, look, and feel. Gnome terminal is nice but lacks some of the rich features.

Re: iTerm2 Shell Integration

#20

I'm here to answer questions anyone has about this. It's a newish feature so feedback is welcome, and bug reports are greatly appreciated. Also, credit goes to FinalTerm for the inspiration. RIP.

I'm using a german keyboard and the shortcut cmd-; is inaccessible because ';' is shift-,

I couldn't find a way to customise the shortcut in options. Sorry if I was too stupid to find it.

Great work otherwise.

Post reply on HN