iTerm is a full featured terminal emulation program written for OS X using Cocoa.

learn more… | top users | synonyms

0
votes
0answers
5 views

How do I { maximize | zoom } the current pane in an iTerm2-integrated tmux session?

How do you zoom the current pane if you're using tmux through the iterm integration? Iterm has its own zoom pane key sequence (by default, shift+cmd+enter), but it only seems to work on native panes, ...
71
votes
7answers
36k views

With Bash + iTerm2, how to name tabs?

In iTerm2 (Build 1.0.0.20120203), I typically open several tabs, each of which has split panes , and is about one particular theme of work, for example revision control, coding, managing files, mysql ...
0
votes
0answers
41 views

.hushlogin but for all folders in iTerm2 / oh-my-zsh

I updated to iTerm v3 beta, and now when I open a new tab with the same location of the previous tab, it shows the Last login MOTD if it's any folder other than ~/. I've read quite a bit about doing ...
0
votes
0answers
6 views

All the tabs comes to location(directory) of active tab

If I am having 2 or more tabs opened in iterm/iterm2, all the tabs have same location all the time. If I navigate to some directory(say, location A) in one tab, other tabs also goes to location A on ...
0
votes
0answers
9 views

iterm all tabs return to same directory used in active tab

If there are 4 tabs opened in iterm and if i'm working in some folder/directory test1 in tab2(active tab) , then all the other tabs (1, 3, 4) also comes to that location (test1).
6
votes
2answers
979 views

How can I copy the output from a remote command into the local clipboard?

I use iTerm2 as my terminal client in Mac OS X. On the local system I can use pbcopy and pbpaste to transfer data between the system clipboard and the terminal, but of course this doesn't work when ...
7
votes
3answers
2k views

Difference between tmux and shell split options on iTerm2?

I currently switched to iTerm2 + VIM for my dev environment. I noticed that the last version of iTerm2 supports tmux and there were people using tmux to split the window into several sessions. I also ...
72
votes
4answers
30k views

How can I get control+left arrow to go back one word in iTerm2?

I was reading up in the Linux manual and I noticed that it said I could use control+left and control+right to move forward and back words in the terminal while editing. "Pressing Ctrl plus the ...
0
votes
0answers
17 views

How do I remove ESC codes from iTerm output

Whenver I pipe command output from iTerm to a file, I seem to get escape codes in my output. Here's a snippet of a git grep command as an example some_commit_id:some_file_name:]0;user@repo: ...
9
votes
3answers
4k views

Programmatically set the color of a tab in iTerm2?

My daily workflow includes me Launching iTerm2 Creating 3 tabs Setting one tab each to red, orange and yellow Changing to a specific path in each tab I would like to script this process; shell, ...
3
votes
4answers
4k views

How do I stop automatic changing of iterm tab titles?

After switching to using .bashrc instead of .bash_profile (I didn't like how the default terminal worked with one config file and utilities like screen with another), the behavior of iterm2 changed. ...
0
votes
1answer
102 views

ZSH in iTerm2: Why my prompt can only use 8 colors?

I am trying to set a color prompt in ZSH ($TERM=xterm-256color), but it can only get 8 colors out: Only the bright version of the colors. This is only the case for prompt, while the other applications ...
0
votes
1answer
158 views

Trigger an echo command after ssh in iterm2

I'm trying to trigger the following command after "ssh somehost": export PROMPT_COMMAND='echo -ne "\033]0;$HOSTNAME\007"' nothing seems to work, any suggestions?
9
votes
8answers
7k views

MacOS X: How to have a handy “Open this folder in iTerm” shortcut?

I think the title states exactly what I want to do. I want a shortcut or even a button within Finder which fires up a new iTerm Tab and changes the location to the location i've open in Finder. Some ...
2
votes
2answers
982 views

Set default colour for all iTerm2 windows

How can I set the default terminal colour for all new iTerm2 windows?
0
votes
0answers
21 views

After losing connection to ssh with tmux, random characters get sent with mouse `27M64;85;27M64;8`

If I lose my ssh connection, and I have tmux running on said ssh'd login terminal, then sometimes, I get a weird behavior when I return to my local shell. Mouse behavior sends weird sequences to my ...
1
vote
1answer
81 views

How can I get vim autocompletion working in iTerm

I recently switched from MacVim to regular Vim in iTerm. I've been encountering an issue where I can't get vim's autocompletion to trigger using Ctrl-N. Instead, I get iTerm's autocompletion which ...
4
votes
5answers
5k views
1
vote
3answers
336 views

Open iTerm2 with ctrl+ctrl?

I recently switched from TotalTerminal (formerly Visor) to iTerm2 on Mac OS X. I used to be able to open TotalTerminal with the shortcut ctrl+ctrl (two quick taps). Is this same shortcut possible in ...
6
votes
1answer
2k views

Homebrew: Terminal Emoticons How?

I use homebrew for package management on my mac. Today after updating homebrew I saw something I've never seen before; There was a tiny beer emoticon in the terminal. How is this being done!? What ...
0
votes
3answers
59 views

Jumping to previous prompt in terminal

In a terminal, are there any shortcuts to jump to a previous/next prompt? Scrolling up and trying to find the start of a log slows down my workflow. I'm using iTerm on OSX, but this should be ...
0
votes
0answers
24 views

Textmate iTerm bundle

I want to use Textmate with iTerm with zsh. I have a bundle for running selection script in textmate to the mac terminal : #!/usr/bin/env bash # [[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] ...
22
votes
3answers
30k views

Color scheme not applied in iTerm2

I haven't been able to apply any color scheme to iTerm2. It looks like that the Basic Colors are applied, but the ANSI Colors are not (as shown in Preferences>Profiles>Colors). Using Mac OSX ...
0
votes
1answer
305 views

How to access Solarized color values within bash script

I'm trying to make my bash PS1 prompt colors according to the Solarized theme. I have solarized installed and working for iTerm2, but so far have been unsuccessful in creating a custom PS1 prompt that ...
31
votes
5answers
22k views

Change iTerm2 window and tab titles in zsh

I want to label the window tabs of terminal sessions. I'm using the zshell in iterm2 on OSX. Is it possible to change the label of a window tab dynamically in the terminal?
38
votes
8answers
15k views

How Can I Speed Up Terminal.app or iTerm on Mac OSX?

Every time I launch either iTerm or Terminal after not using it for a few hours, it takes anywhere from 10-20 seconds to return a prompt. The screen is blank, and although I can type I can't actually ...
0
votes
1answer
190 views

color scheme setup for iTerm

How do you setup color scheme of iTerm on Mac? For color scheme, I mean using different color to display folder name, file name, machine name, etc. thanks in advance, Lin
7
votes
2answers
4k views

iterm2 cannot toggle fullscreen when in 'top of screen' mode

I'm trying to toggle fullscreen in iTerm2 by pressing "cmd+enter". Unfortunately it doesn't work when 'top of screen' style is selected in the profile settings (as shown in the attached png). When I ...
8
votes
5answers
5k views

How can I partially clear my terminal scrollback?

I want to partially clear my terminal scrollback history, but only from where I have selected with my mouse in the scrollback and up. Is this possible? I'm on a Mac, and I use iTerm2 and Terminal.
7
votes
1answer
4k views

Hide iTerm ScrollBar

How can I hide the scrollbar of my iterm console?
0
votes
0answers
368 views

Highlight bash output in iTerm 2?

I've followed the instructions for installing Solarized on iTerm 2, on my new OSX Yosemite machine. It looks as though the background and basic colours are being applied, and $TERM produces ...
5
votes
3answers
4k views

setting visual bell to flash in iTerm

I am using iTerm on OSX (leopard) to ssh to a linux machine. I run screen on the dev machine to save my work between sessions. I am not a big fan of audio bell and I don't like screen's default 'Wuff ...
7
votes
4answers
7k views

Mac OS X Terminal not logging in

I am running Mac OS X version 10.6.3 and when I open the terminal (with terminal.app or iterm) it just hangs on the login process. I've tried restarting, changing the startup command to /bin/bash, and ...
32
votes
2answers
6k views
3
votes
1answer
923 views

How to configure tmux/iTerm to display session name as title in terminal tab?

I am getting started using tmux and iTerm2 on Mac OS X. Currently, all my tabs are titled "tmux" (assuming it's just displaying the process name) which makes it difficult to find the tab that I want. ...
1
vote
0answers
325 views

Iterm on top of all windows? [duplicate]

Is there a possibility for Iterm to always be on top? I have seen some issues but don't know whether it's already implemented. Issue 2640 in iterm2: Always on Top function
0
votes
1answer
209 views

ssh session immediately on starting xterm

What's the most elegant way to start an xterm window that, instead of opening a bash shell for the local computer and requires me to execute my ssh command manually, opens an ssh session for remote ...
4
votes
1answer
2k views

iTerm2 pin Visor (hotkey) window

Is there anyway to pin (keep on top) the Visor / hotkey window for iTerm2? Every time I give focus to another window (e.g. Chrome for documentation), iTerm2's hotkey window disappears. I have to ...
4
votes
2answers
3k views

How can I make terminal VIM my default editor application in Mac OS X?

I am aware of MacVim, and while it's very nice I am constantly in the terminal. Why have two programs running when I could stay in one? So the question is, how can I make VIM (run in iTerm2) the ...
1
vote
0answers
53 views

Constant name of iterm2 tab

I can change the title of terminal tabs in iTerm2 by pressing CMD-I and setting some name. But as soon as I open e.g. vim and close it, tab name is reset to what my prompt says, instead of being ...
3
votes
1answer
1k views

Setting custom (Powerline) fonts in the default OSX Terminal app

I was able to set a custom font in Iterm 2 by setting the Non-ASCII option in Iterm's setting. I was not able to find a similar option in the default Mac OS Terminal. How can I do this for Mac OS ...
1
vote
0answers
1k views

How to export iTerm2 Profiles

I needed to reformat my computer and now I'm having trouble copying the settings/profiles over. I copied the files in ~/Library/Application\ Support/iTerm/ over. I also copied ...
0
votes
1answer
149 views

Create keyboard shortcut in iTerm that performs an action in different pane

I have an iTerm setup where I often have vim running in one split pane, and guard running in a different split pane. So the keyboard focus stays almost exclusively in the pane running vim. Once in a ...
1
vote
1answer
204 views

How do I issue M-S-<left-arrow> to Emacs running in iTerm on Mac OS Mavericks?

When I press that key combination I hear a bell and see 0D chars printed to the buffer instead of the command bound to that key chord being executed (org-table-delete-column in this case). ...
5
votes
2answers
5k views

is there a linux equivalent of iTerm(mac) sending command to multiple tabs functionality?

in iTerm, you can send a command to execute simultaneously on a set of already opened tabs. Is there a way to do this in linux (with gnome-terminal preferably)? for instance, supposed that I had 10 ...
0
votes
2answers
795 views

How should t_Co be being set?

I am on OS X 10.6.2 and am using iTerm as my terminal. When I run Vim, t_Co gets set to 8. I want it to be 16 or 256 if I can display that many colors. If I manually set t_Co to be 16 (i.e. :se ...
2
votes
3answers
2k views

Vim + iTerm2 color issues

I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2. I try to get the solarized colorscheme working, but without luck so far. ...
1
vote
2answers
561 views

Set Tab Title to your current working directory instead of the current job name in zsh iterms

I'm running iTerms on my Mac OS X with zsh. With my workflow I have to switch between tab a lot and sometime I have to spend too much time just to find which tab is the one I'm looking for because all ...
2
votes
1answer
1k views

iTerm 2 disable Fn keys

I'd like to achieve the following: When iTerm 2 is my active window in OSX ML, I would like the FN keys to represent F1 - F12 and NOT the Fn's like Brightness and Sound. Whenever NOT in iTerm I would ...
2
votes
1answer
3k views

OSX set iTerm as default terminal

I want to config iTerm2 to be the default terminal on my mac (Mountain Lion 10.8.4), so when I do right click on the folder and choose "New Terminal Tab at Folder", it should open iTerm. Any ideas?