Live data from Hacker News

iTerm2 Shell Integration

iterm2.com

21–30 of 102 posts

Re: iTerm2 Shell Integration

#21

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.

Same here in Norway (and the entire Scandinavia).

Re: iTerm2 Shell Integration

#22

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.

Good to know. You can customize shortcuts by going to prefs>keys. Click the + to add a new key mapping. Press the shortcut you want. For Action choose "Select Menu Item…" and then find the item you're looking for in the popup menu that appears (Edit>Open Autocomplete…, in your case).

Re: iTerm2 Shell Integration

#23

I'd love to see something like iTerm for Windows.

Not exactly an iTerm2 clone but pretty close conemu https://code.google.com/p/conemu-maximus5/

+1 for conemu. It's approach and direction seem to be different than iTerm2, but still a must have on Windows.

Re: iTerm2 Shell Integration

#24
Wow guys, this is great... I'd manually tried setting something up with PushBullet for a few long running commands, but just hitting a shortcut combo is much nicer...

brew installs and bundle installs and the like will be a joy now!

Re: iTerm2 Shell Integration

#26
I'm concerned about the wget to an external server part. This file should be local to prevent excessive slowness and potential security issues.

Also, is there a zsh version of this file? zsh is extremely popular on osx.

Re: iTerm2 Shell Integration

#27
post #18

Earlier quoted context omitted.

Except that it doesn't shell out, so it ignores ProxyCommand...

What do you use ProxyCommand for? It seems hard to support, but I'd like to know more.

I've used it in the past to ssh via bastion hosts and the like.

Re: iTerm2 Shell Integration

#28
Great stuff, I've been using iTerm2 for a while and it's really good to see it evolve like this.

I use screen a lot (yes I know, I should switch to tmux one day!) and shell integration doesn't seem to work properly with sessions inside screen. Works perfectly if I ssh directly. Is it going to be supported eventually or is this the ultimate signal for me to switch to tmux?

Re: iTerm2 Shell Integration

#29

I'm concerned about the wget to an external server part. This file should be local to prevent excessive slowness and potential security issues. Also, is there a zsh version of this file? zsh is extremely popular on osx.

The linked page explains how to install by hand. I'd like to eliminate the curl|bash. It's tricky to deploy a shell script in a terminal emulator, so it hasn't been done yet. The ability to fix bugs without making users upgrade their client has been invaluable during early beta.

Re: iTerm2 Shell Integration

#30

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 t…

Cool, thanks for the update :)
Post reply on HN