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

learn more… | top users | synonyms (1)

2
votes
3answers
568 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
34 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, ...
7
votes
4answers
3k 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 ...
2
votes
1answer
19 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
59 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 ...
-1
votes
1answer
53 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?
68
votes
7answers
39k 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. ...
27
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
54 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
28 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
25 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
37 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
36 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
452 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
93 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
167 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
113 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
189 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
23 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
47 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
61 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
51 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
106 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
911 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
237 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 ...
0
votes
0answers
109 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
32 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
201 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
35 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
2k 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
56 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
34 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
232 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
40 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
45 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
429 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 ...
3
votes
1answer
110 views

How does Sublime open file with cmd+click on its path in Terminal?

For example: $ ls -lsa 4 -rw-r--r-- 1 denis 404 Jul 16 18:36 pgadmin.log cmd+click on pgadmin.log Sublime opens pgadmin.log (if path is 'pgadmin.log:12', it opens it and sets cursor to 12th ...
1
vote
2answers
204 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 ...
7
votes
3answers
2k views

Why don't my arrow keys work in vim under iTerm?

They work just fine if I use Terminal and start a vim session, but under iTerm I have to resort to using H-J-K-L to do left-up-down-right movement. In both Terminal and iTerm TERM=xterm-color. My ...
0
votes
0answers
12 views

How can I simulate Home / End keys press in iTerm [duplicate]

How can I simulate Home / End keys press in iTerm? I need to use it for mc. Thanks in advance.
1
vote
0answers
57 views

Cursor keys not working with vim when using iterm2 Build 1.0.0.20140629

I have just hit this problem, and I have tried all suggested fixes with zero improvement. The version I have running is Build 1.0.0.20140629 It is the large Apple keyboard with the cursor keys next ...
4
votes
2answers
478 views

Using Alt/Cmd + Right/Left Arrow in iTerm

Is it possible to move between words in iTerm using Alt + Right/Left Arrows ? Now if I press Alt+Left I will get '[D' and '[C' if I press Alt+Right.
0
votes
1answer
46 views

Paging Up/Down in irssi Running In The iTerm2 Terminal Emulator

I can't figure out how to actually page up and down in irssi's history to see previous conversations. The majority of posts claimed that first hitting Ctl+A, then using Shft+fn+[up/down], which didn't ...
0
votes
0answers
29 views

How to prohibit other languages than english in terminal

I am using some other languages other than English as input sources, every time I am opening my terminal and start writing a command I write it in a language other than English. I need to know if ...
3
votes
2answers
1k views

How to set an iTerm2 startup command

How do I set a command on a profile so that when I start a new terminal window, it fires off that command. Specifically, I'd like to be able to set my virtualenv with: workon ENV So that it starts ...
2
votes
0answers
80 views

de-grouping iTerm2 windows

Activating iTerm2's "hotkey window" (i.e. drop-down console) also brings to front all other iTerm2 windows. Is there a way to avoid this, making OS X treat each window as a separate application rather ...
1
vote
1answer
70 views

How do I disable the “theme loaded” message in zsh

Im using zsh as my default shell and loving it. I have random themes enabled, and whenever I load a theme it displays a message on my terminal. How do I disable this message? Im talking about ...