If the "getting a notification when a long-running job finishes" part of the shell integration interests you, but you're not a Mac user or want notifications from a remote host, check out my side project http://ntfy.readthedocs.io/
I also wrote a command line pushbullet client. I have bash and fish functions that check the status of the last command and then push me a success or failure. Pretty straight forward and little overhead.
Since switching to Debian almost exclusively I've found terminator to be the closest approximation to iTerm. That said, there are times I still miss iTerm but the decent split window support made it a decent transition.
I (foolishly) did the update as prompted. Wasn't mentioned that it was a beta. Afterwards, I had to spend 1/2h trying (and failing) to get back to the look and feel I had before (all the fonts that I tried looked much thinner than before).
Eventually, I switched to a dark theme instead of light as I was accustomed. This solves part of the problem (my consoles are again reasonably readable), but I'm not sure I really prefer a dark theme over a light one.
One small thing not mentioned on this page is that iTerm2 v3 now supports 24bit colour.
If you're on the latest vim (install with: brew install --HEAD vim) you can use the same colour schemes designed for gVim in your terminal with :set guicolors
Hm, by the looks of it, babun is just a preconfigured shell? In that case, I'd just hook babun into cmder. Cmder Is just a configurable shell host. I have a few types configured. Cygwin, powershell, powershell as admin, cmd, cmd as admin, and Far manager. You can have as many tabs as you want of any type of shell. Quite a different tool.
Perhaps it's my grey beard showing, but after getting the 2.9 beta some few months ago and trying shell integration... I hated it. It took away all of the speed gains iTerm had gotten, and offered remarkably little benefit.
I already have history. I already have my git branch and $? in my $PS1. The restore functionality attempts to run across intentional shutdowns and box restarts, mucking with an otherwise clean terminal. I've yet to find a practical use for multiple profiles, let alone automated profile switching.
Can we just keep getting speed and polish, and set aside the new features for awhile?
Agreed on the shell integration, I had to take it out again because it made switching directories unbearably slow. The inline images however are absolutely magical. See e.g. the screenshot in https://github.com/mbauman/AxisArrays.jl#example-of-currentl...
>I've yet to find a practical use for multiple profiles
I use them all the time with GNOME terminal. I prefer different themes/fonts for different applications. If you have trouble seeing and need some apps that don't allow you to configure the colors to have a high contrast theme you can just use a specific profile for that app. Plus I like switching between dark and light and medium themes on the fly.
Personally, I wanted to use it for making the terminal look different (different background colour) when switching to a root shell. Then I found I would have to install the shell integration in the root environment of every host I would ever admin. That turns it into a useless feature.
You don't have to install anything to do color switching, AFAIK. There are configuration options that you can use to match based on regexp, so you tell it when it sees '^root@hostname' it needs to change the background color and you are done.
It seems like you should be able to do that because it allows regex matching for other things, but to do profile switching, you must have shell integration installed.
Why not just do this in your personal shell theme? When I made my own when I got finally got serious about refreshing my ZSH environment years back, one of the first things I made sure to have was that a root shell was well highlighted with a bright red. You can build your prompt with a conditional %(!.true.false) for whether the shell is running with privileges, and/or different conditionals for whether the shell is a specific UID. Section 13.3 of the manual covers conditional substrings in prompts, and it makes for a pretty flexible foundation to add visual cues under various conditions.
This in turn leads to the core major issue I've always had with something like iTerm: ultimately it's a struggle to find much supplied by a higher level GUI application that I can't do and for that matter wouldn't much prefer to do purely within the shell. Of course, the given terminal does need to be capable of handling the basics, in terms of full color, UTF and all that, and there was a time where iTerm was well ahead of Terminal.app there. But I think since at least OS X 10.8 or so Terminal.app has been good enough that zsh/tmux etc can handle the rest, and the result is a setup that's a lot more flexible in terms of what systems it will work on and can be work on from. And that seems like a pretty valuable point of CLI in and of itself.
Stuff like the password manager actually does interest me as a stop-gap for servers where I'm unable to have proper shared keys, but a lot of what they list almost seem like anti-features, replicating (poorly or not) stuff better done within the environment in a non-portable way.
Never crossed your mind that it could be tongue-in-cheek given that it's a terminal emulator for Apple platforms, eh?
I mean, the Twitter announcement included a Ron Paul GIF[0]. I'm just saying, maybe the pitchforks are a bit premature on this one. Jony Ive's not stumping for iTerm2 v3 Mk. IV.
No it hadn't, but looking at it, you're right that that could could be the intent. If so, perhaps my crankiness towards such things (it's not just this project that uses such phrases) projected itself into a comment at the wrong moment.
In any event, if it is meant to be tongue-in-cheek it could stand a bit of a rewrite anyway since in that case, it isn't over the top enough to make its intent clear. :-) The big tag above is "iTerm2 is a terminal emulator for OS X that does amazing things." "Amazing" is also over-the-top, but again not enough if trying for parody.
It' a bit of a poe (look up poe's law if you're unfamiliar). It's hard to tell whether they mean it or not. If parody, throw in a few "magicals" and such and my thick brain would get the clue.
I'd suggest this be renamed 'v3.0' - the '.0' being significant for people like me who took a long time to realise, since "version 3" has been in beta for a while now as 2.9.x
I don't know if it made it into this version, but I was trying v3.0 nightly builds a few months ago, and the material-design-ish "tip of the day" dialog they added was… weird. It's completely out of place against the rest of the OS and I'm fairly certain it's done with a webview. Overall way too heavy and involved for such a small feature. A small native tool palette panel would have sufficed.
I reverted to the stable release for a while but these days I just use plain old Terminal.app. I miss the Visor/TotalTerminal/Quake pulldown feature since SIP kills TotalTerminal, but oh well.
I was using iTerm2 while Vim was my main text editor. Recently I switched to Emacs, and now my iTerm2 usage is lower for 60%. It's lower to that point that I ask my self is it now worth over Terminal.app. I used it because it had True Colors, while Terminal.app didn't, and it was a deal breaker for me. Now I am considering ditching iTerm2 since I feel it is slower than stock terminal. Used it for years btw, worked great with my nvim/tmux/zsh setup. But now it is kinda all falling apart since I installed emacs.
Love iTerm2, it has a ton of features I don't use but it also has ton of features that I need that are only in iTerm2, and that is what makes it great, it can serve a lot different needs for different users.
60 comments
[ 4.5 ms ] story [ 113 ms ] threadA popup prompting you to switch from a stable release to a beta seems a bit strange to me.
[EDIT] Though, now I notice, with a misleading title...
Better battery life sounds nice, but I'd be lost without that feature. It's the main reason I use iTerm2 over terminal.
Eventually, I switched to a dark theme instead of light as I was accustomed. This solves part of the problem (my consoles are again reasonably readable), but I'm not sure I really prefer a dark theme over a light one.
If you're on the latest vim (install with: brew install --HEAD vim) you can use the same colour schemes designed for gVim in your terminal with :set guicolors
For reference I've got vim-7.4.1795 installed. Version string looks like this:
Also, if you're using tmux you'll need the latest version of that too.Edit: Also, just remembered you might need to run brew update before brew install to get the latest installation formula.
When I double click on an IPv6 address it should highlight the whole thing. Bonus points if it also gets %dev for link-scoped addresses.
urxvt allows full perl regex for matching text[1].
[1]: http://cvs.schmorp.de/rxvt-unicode/src/perl/selection?view=m...
[1] https://babun.github.io/
I already have history. I already have my git branch and $? in my $PS1. The restore functionality attempts to run across intentional shutdowns and box restarts, mucking with an otherwise clean terminal. I've yet to find a practical use for multiple profiles, let alone automated profile switching.
Can we just keep getting speed and polish, and set aside the new features for awhile?
I use them all the time with GNOME terminal. I prefer different themes/fonts for different applications. If you have trouble seeing and need some apps that don't allow you to configure the colors to have a high contrast theme you can just use a specific profile for that app. Plus I like switching between dark and light and medium themes on the fly.
Personally, I wanted to use it for making the terminal look different (different background colour) when switching to a root shell. Then I found I would have to install the shell integration in the root environment of every host I would ever admin. That turns it into a useless feature.
https://iterm2.com/documentation-automatic-profile-switching...
This in turn leads to the core major issue I've always had with something like iTerm: ultimately it's a struggle to find much supplied by a higher level GUI application that I can't do and for that matter wouldn't much prefer to do purely within the shell. Of course, the given terminal does need to be capable of handling the basics, in terms of full color, UTF and all that, and there was a time where iTerm was well ahead of Terminal.app there. But I think since at least OS X 10.8 or so Terminal.app has been good enough that zsh/tmux etc can handle the rest, and the result is a setup that's a lot more flexible in terms of what systems it will work on and can be work on from. And that seems like a pretty valuable point of CLI in and of itself.
Stuff like the password manager actually does interest me as a stop-gap for servers where I'm unable to have proper shared keys, but a lot of what they list almost seem like anti-features, replicating (poorly or not) stuff better done within the environment in a non-portable way.
No, it is not "stunningly beautiful." Don't get me wrong, it looks GREAT, but c'mon, the definitions of those words just don't apply here.
I'm sad that Apple's over-the-top keynote/ad language continues to spread. Let's have some restraint, folks!
I mean, the Twitter announcement included a Ron Paul GIF[0]. I'm just saying, maybe the pitchforks are a bit premature on this one. Jony Ive's not stumping for iTerm2 v3 Mk. IV.
[0]: https://twitter.com/gnachman/status/737747033067376640
In any event, if it is meant to be tongue-in-cheek it could stand a bit of a rewrite anyway since in that case, it isn't over the top enough to make its intent clear. :-) The big tag above is "iTerm2 is a terminal emulator for OS X that does amazing things." "Amazing" is also over-the-top, but again not enough if trying for parody.
It' a bit of a poe (look up poe's law if you're unfamiliar). It's hard to tell whether they mean it or not. If parody, throw in a few "magicals" and such and my thick brain would get the clue.
I reverted to the stable release for a while but these days I just use plain old Terminal.app. I miss the Visor/TotalTerminal/Quake pulldown feature since SIP kills TotalTerminal, but oh well.