iTerm is a third party replacement for the built-in Terminal application.

learn more… | top users | synonyms (1)

0
votes
1answer
14 views

Launch console application in iTerm on boot

How can I launch some command (console application) in iTerm2 on system boot? There should be only one instance of this application.
1
vote
2answers
13 views

Escape sequence in terminal or iTerm to jump to absolute column?

Is there an escape sequence which I can use to jump to an absolute column in OS X Yosemite Terminal or iTerm? In other words: echo 12345678901234567890 echo \StartAtColumn10 A10 \StartAtColumn2 B2 ...
2
votes
1answer
1k views

vim arrow keys inserting strange character in iterm2

vim escape & arrow keys are inserting strange character (the letter q in my case) but works perfectly if launched in a tmux session or with terminal.app Someone having the same problem?
0
votes
1answer
29 views

LSOpenURLsWithRole() failed with error 10810 in iTerm2 running tmux on Yosemite

[~%]open ~/Pictures/upload.png LSOpenURLsWithRole() failed with error -10810 for the file /Users/bryanhunt/Pictures/upload.png. Before this update I used to be able to open images, PDFs, etc. from ...
7
votes
5answers
4k views

iTerm2/Terminal full screen

Why is it not possible to have iTerm2 or Terminal app take up the full available space on the screen. Let me show an example: It's hard to see but if you look on the right and bottom edge, there is ...
1
vote
2answers
277 views

Can I copy the entire scrollback buffer from iTerm2 to the clipboard?

I've just run some commands and have several pages of output in iTerm2. Now I'd like to save it somewhere. (I could have piped it to a file, but I didn't think of that.) Is there an easier way to ...
6
votes
2answers
3k views

iTerm2 doesn't read com.googlecode.iterm2.plist

I am iTerm2 (1.0.0) user. I know how to create profiles, by using iTerm settings or modifying com.googlecode.iterm2.plist file. For convenience, I will use .plist to indicate ...
1
vote
0answers
20 views

Pasting multiline chunks of text into iTerm2 causes overlaps, broken lines and whatnot

If I paste multiline chunks of text into iTerm2, I always a get mess of output. It seems limited to only some programs running interactively (such as Bash, IRB - Python / VIM work flawlessly). Using ...
0
votes
1answer
26 views

Change iTerm2 Default profile preset with “defaults write…”

I want to do this in my dotfiles script. I managed to download the preset I want using curl and open it, but I don't know how to set it in the default profile: curl -L ...
0
votes
0answers
17 views

iTerm - New session shows “1”

As seen in this screenshot, every time I open iTerm (new session), it shows a "1". I would like to know how I could fix this .. I removed the .zshrc and still get this. if I open "Terminal", this ...
0
votes
1answer
17 views

Restoring iTerm2 to default values

I installed iTerm2, played a bit with the preferences. Now I would go back to the initial configuration, but removing the app and finding and removing any file on the disk apparently related to the ...
1
vote
2answers
25 views

How should I start a new iTerm terminal with shortcut?

I've created a service in automator and assigned a shortcut, and it works. But this doesn't start a new iTerm terminal. It only reveals the already running one How can I start a new "tab" or a ...
2
votes
3answers
718 views

chsh doesn't change $SHELL

I'm having some difficulties in changing the value of $SHELL in OSX's iTerm app. iTerm is starting in /bin/zsh, but the value of $SHELL doesn't seem to change. What I've done: Changed "command" as ...
0
votes
1answer
44 views

Terminal stuck at error won't accept any commands.

I was trying to install CLI package from github but I messed up during the process and ended up getting this error. It is persistent and won't go away. Terminal wont accept any commands like mkdir, ...
2
votes
1answer
25 views

iTerm2: How to change the color used to highlight search results?

It seems that iTerm2 is hardcoded to highlight search results using a yellow background color. I tried both the latest release and the nightlies but could not find a way to change that color. Did I ...
0
votes
2answers
66 views

Alfred Terminal / Shell Command does not work

In Alfred, if I type > ls must open iTerm2 with that command. Well, does not work for me. In Application if I select Terminal instead of iTerm2, works. If I select Application → Custom, it ...
0
votes
1answer
68 views

Open iTerm and execute some commands automatically

I need to open some terminal sessions via iTerm 2 and execute commands on each terminal (e.g. rails s ; rails c) How to do it via automator or alfred?
69
votes
7answers
41k views

What is the difference between iTerm2 and Terminal?

I keep hearing that iTerm2 is much better than Terminal. I downloaded iTerm2 today and played around with it, but I couldn't see what is so much better about iTerm2. iTerm2 seemed just like Terminal. ...
28
votes
3answers
13k views

How can I save tabs in iTerm 2 so they restore the next time the app is run?

Can I save tabs on exit in my iTerm 2, so I don't have to open same directories again after restart? Like Chrome does, for example. I couldn't find such option in settings. Maybe "Arrangements" is ...
0
votes
0answers
74 views

Automator Apple script: expected end of line but found “”"

I'm trying to run a simple Apple script that opens iTerm2, cd to a terminal and launches a command. The script goes like this: on run {input, parameters} tell application "iTerm" activate ...
1
vote
1answer
43 views

Changing the default keyboard shortcuts in iTerm2

In iTerm2, ⌘W will close the current shell. In Vim, Ctrl W, by default, sets you up for a window command (e.g., Ctrl Wh moves to the window on the left, etc.) I am new to using a Mac and haven't got ...
1
vote
0answers
33 views

Running “irb” changes my zsh to bash on iTerm2

I'm running OSX 10.9.4, and my default shell is set to z shell. I was just working out my installation of Ruby and RVM and playing around with irb when I suddenly notice that my window title says ...
1
vote
1answer
41 views

Missing .Bash Files in ~/

While uninstalling/removing home-brew, node, and yeoman...I noted that I don't have a .bashrc or .bach_profile in my home directory. I only have .bash_history present. Why is this? Is this bad? If ...
1
vote
2answers
51 views

iTerm - going one word backwards and forwards

Would it be possible to configure iTerm 2 to go backwards and forwards one word through the curent text in the command line using a keyboard shortcut?
5
votes
2answers
527 views

Terminal not displaying colors for directory listings

I don't know why my bash session doesn't show colors. I have tried Terminal as well as iTerm. I have tried: ls -G Setting export CLICOLOR=1 and export LSCOLORS=GxFxCxDxBxegedabagaced Using ...
0
votes
2answers
135 views

How to add icons to iTerm2?

I've been looking into making my terminal more visually expressive. So far I've found , and learnt how to import themes and customize color schemes, but I was wondering how people get these cool icons ...
1
vote
1answer
208 views

iTerm2 settings are reset upon app close

If I change a setting within iTerm2, using the Preferences panel ex. under Window i set transparency and blur. This works as long as I do not close iTerm. Once I close the app and reopen, everything ...
1
vote
1answer
125 views

iterm - what's the key-combo to switch panes?

I've learned how to split my terminal windows with apple-d and apple-shift-d. Its very useful. How do I then switch between the two panes (see below) using the keyboard? I know I can use the mouse ...
0
votes
1answer
219 views

New mac - installed tmux but can't use mouse in for pane switching

I have the required setw / setg setting for mouse in my .tmux.conf but they aren't working. I've done tmux source-file .tmux.conf I can use tmux and split windows with my remapped keys and other ...
0
votes
0answers
36 views

How to go back opened iTerm2 window by a system-wide hotkey

I configured iTerm2 like a Guake by following this page. http://ivanvillareal.com/osx/setup-iterm2-to-behave-like-guake/ But somehow when I want to go back iTerm2 window by a hotkey, a new window is ...
4
votes
2answers
2k views

open new tab in iTerm and execute command there

I have found way to open new tab in iTerm: newtabi() { osascript -e 'tell application "iTerm" to activate' -e 'tell application "System Events" to tell process "iTerm" to keystroke "t" using ...
2
votes
1answer
68 views

How to open a new tab in iTerm in the same folder as the one that is open?

I'm using iTerm for my command line needs, and when I open a tab using ⌘T I want it to open the tab cd'ed to the same location as the tab that was open when I hit ⌘T (instead of opening in my ...
2
votes
0answers
67 views

Iterm2 - Export a single profile's settings for distribution to others

I've been getting used to working with Iterm2 over the past few weeks. I have a very specific profile configuration requirement for a legacy business application. The configuration for the profile ...
0
votes
1answer
60 views

iTerm2 cannot be opened even after SMC and PRAM resets

I got a gray screen due to "A kext releasing a(n) AppleHDAEngineOutput has corrupted the registry." Once the computer restarted, I cannot open iTerm2 anymore. A 1-lined terminal shows up without the ...
4
votes
1answer
166 views

In iTerm2 Command Click on URLS does not work when inside a tmux session

When not inside a tmux session, Command-Click on URLs works flawlessly. How can I make links clickable in iTerm2 when inside a tmux session? When hitting Command the mouse pointer changes to the ...
2
votes
1answer
959 views

Tmux with iterm2 integration won't start when invoked with tmux -CC

I'm using iterm2 Build 1.0.0.20130302 and would like to get tmux working. I followed the instructions at: https://code.google.com/p/iterm2/wiki/TmuxIntegration Everything compiled and installed ...
5
votes
2answers
263 views

Can I get mac notification when a Tab has new output in iTerm2?

You know, iTerm2 will change the color of the tab to red or purple. But sometime when I run a long job in one tab, I have to check if it's done frequently. So.. can I get notification when there's new ...
1
vote
0answers
140 views

iTerm2 does not kill processes when tab is closed

If I work in terminal, and, say run rails server in it attached to the current terminal and then close the tab it will not terminate the process making it hang around indefinitely without ability to ...
1
vote
0answers
38 views

iTerm2 wrong color output

The command ls when using iTerm is behaving strange. It outputs colors but they change at some point and I don't think this is the normal behavior. I have the following alias for ls alias ls='ls ...
1
vote
2answers
265 views

Sending Control+Alt+ <char> to terminal in iTerm2

When I press Control + Command + i I would like iTerm2 to send the shortcut as C-M-i (i.e. ctrl+alt+i) to my terminal. I have How can I do that? I have tried with the following with no luck: ...
0
votes
1answer
39 views

iTerm2: Saving Global Shortcut Keys

In iTerm2, I can define "Global Shortcut Keys", which is great. I can also "Load Presets" within this view. But how can I save "Global Shortcut Keys"? I don't see an option to do this anywhere: .
2
votes
3answers
3k views

What is the Applescript command to show or hide iTerm2 window

Does anybody know the Applescript command to show or hide a iTerm2 terminal window? I use iTerm2 in a guake style command window and currently using one window and many tabs. My use case: I managed ...
0
votes
0answers
62 views

OSX 10.9.4 Other sound device selected; sound still from internal speakers

This issue here is my exact problem (his was unsolved): OS X ML 10.8.2 sound from certain applications going to non-selected sound card? I have "Sound Flower 2ch" device selected, most all of the ...
1
vote
2answers
1k views

Remapping keys in iterm2

I'm trying to remap some of the default key combinations in iTerm2, and would like to understand what is going on when I bind keys to "Send Hex Codes". A previous post helped me get started with ...
0
votes
1answer
36 views

iTerm2 where is [ ] keybindings?

Is there a reason why ALT+8 / ALT+9 does not produce [ and ] in iTerm2 ? I'm running with defaults and a .bashrc/.bash_profile that produces the correct result in Terminal.app.
0
votes
2answers
268 views

Terminal/iTerm Autocomplete “greyed” functionality?

Not too sure how to describe this... but I saw this on a person's computer a cafe today and didn't get a chance to ask him what plugin/application he was using -- I think it best to illustrate with ...
0
votes
1answer
49 views

Where does iTerm store user preferences?

Where exactly is iTerm's user preferences file located? What I want is to sync this file over Github between several machines.
2
votes
2answers
53 views

Closing other tabs in terminal on Mac?

I am using iTerm2, but I wouldn't mind switching back to the original terminal for just this feature. I open hundreds of SSH tabs every day and often end up working after a while only working on 1 ...
3
votes
0answers
455 views

How do I re-associate HTTP links with my browser in OS X?

I installed iTerm2 the other day, and was playing around with it. In the process I seemed to have messed up the handling of HTTP hyperlinks on my system. Sometimes (annoyingly, not every time, which ...
5
votes
3answers
1k views

When Terminal forks process, current app loses focus

While I'm running some program in Terminal (or iTerm2), when the program forks the process, the OS X desktop switches focus from the current application to the forked process. When this happens, the ...