Live data from Hacker News

iTerm2 Shell Integration

iterm2.com

101–102 of 102 posts

Re: iTerm2 Shell Integration

#101
Is it possible to enable/disable features? Since installing, my prompt has been rather buggy, and there are some features I don't particularly care for, but others I really like. For example, my python virtualenv prompt gets broken into two lines, both with a mark, which causes line lengths to misbehave too sometimes. Alternatively, not to sound like a downer, but is there a way to uninstall shell integration? Thanks!

Re: iTerm2 Shell Integration

#102

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?

By default, it is disabled in tmux. It works fine in iTerm2's tmux integration mode, but not in plain old tmux. I'm hopeful that this feature will prove popular and useful enough that I can get tmux to add support for it. To make it work in tmux integration mode just remove the check that $TERM == "screen" in $HOME/.iterm2_shell_integration.$SHELL.

Thanks for the tip. Unfortunately, right clicking on a mark is not working in tmux integration mode.
Post reply on HN