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

learn more… | top users | synonyms (1)

1
vote
1answer
17 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
1answer
51 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
14 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 ...
0
votes
0answers
11 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
12 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 ...
3
votes
2answers
30 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
0answers
21 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 ...
1
vote
1answer
44 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 ...
2
votes
0answers
65 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 ...
2
votes
2answers
65 views

iTerm2, unicode and sympy

In my both Mac (OS X Mavericks) and Ubuntu machine, I have installed sympy that is a python library for symbolic mathematics. Part of sympy is the pretty print functionality that uses unicode ...
2
votes
1answer
68 views

OS X Terminal window disappears on launch

I just unwrapped a MacBook Pro (OSX 10.9.3). I used the Migration Assistant to bring things over from my old mbp, and most everything seems to be working except something very important: the Terminal ...
0
votes
2answers
41 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 ...
1
vote
1answer
16 views

How to change default LC_TYPE?

My OS X (Mavericks) seems to be setting LC_CTYPE environmental variable to UTF-8 by default. How can I change the default? I need LC_CTYPE to be en_US.UTF-8. There's a catch: I don't want to ...
1
vote
1answer
20 views

Increase space between two directories from “ls”

I recently switched to Mac from Ubuntu and I've still had a quite a lot to figure out. For iTerm2, how to adjust the space between files/directories? The following screenshot shows what it looks like ...
0
votes
0answers
49 views

How can I keep keybindings of iTerm and vim apart

1.Enviroment Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problems in vim+terminal+bash on Mac OSX 10.9.2) 2. Mapping Problems Here are mapping problems list(You can chose any of them to anwser). ...
0
votes
0answers
35 views

Making the iTerm2 color tab labels on activity more useful

In using iTerm2, I frequently see tabs turning a different color, and just assumed that this was because of new output in that window. The help was no good, as I couldn't find a decent word to search ...
0
votes
1answer
67 views

What are the differences between terminal types supported by iTerm2?

I am looking for a brief comparison of the terminal types supported by iTerm2, mainly to see what setup to pick in order to minimize problems. Mainly, I am connecting with Linux (Debian/Ubuntu) ...
0
votes
1answer
32 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
31 views

Get iTerm session by tty name

I want to run a command within an iTerm2 session like this: tell application "iTerm" tell session id "/dev/ttys020" exec command "ls" end end But I get the following error (with and without ...
2
votes
1answer
336 views

iTerm colors for Prompt, Command, and Output

Right now my iTerm2 looks like this... Everything is the same color and is hard to read. Can I make any of the Prompt, Command, and Output different colors like this?
0
votes
1answer
21 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 ...
3
votes
1answer
102 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
0answers
27 views

How to disable the line highlight of iTerm2?

I install iTerm2 and oh-my-zsh in default configuration and I am trying to change the color theme to solarized. But the awkward thing is that I don't know how to turn off the line highlight as below: ...
2
votes
2answers
38 views

History commands render incorrect on Bash Vi mode

I'm having this werid and really annoying issue in bash vi-mode. Env: Mac 10.9.2, iTerm 2 1.0 or Terminal.app, $TERM={screen-256color|xterm-256color|xterm|vt} Repro steps: Run some long commands ...
1
vote
1answer
72 views

Why are my Terminal.app colors different from iTerm?

I have set the ANSI colors of both terminals to be the same (see 1st screenshot), but the colors for Terminal.app are really bright, and almost unreadable, and not like the colors I set at all. It's ...
1
vote
1answer
59 views

How to find out which terminal app (iTerm or Terminal) is running from within bash

I need to have different color schemes for each of the two terminal types I use. I can set it in the .bash_profile as mentioned here. But how can I tell it to differ depending whether its a iTerm2 or ...
0
votes
0answers
96 views

Display w3m images in iTerm2

I am currently using iTerm2, tmux, and w3m. I would like w3m to display images, as I know it is possible in xterm. Is this possible in OS X using iTerm?
3
votes
1answer
869 views

How to remap tmux split pane keys?

On my linux machines, for my terminal shell I have tmux keys mapped to allow me to split windows and then switch between new panes. With or without these mappings I can't figure out how to remap the ...
0
votes
1answer
111 views

How can I launch .sh scripts from the finder in iTerm2 instead of Terminal?

I have set 'always open with' to : 'Iterm2', for .sh files in osX. Although a double click on a shell script now opens a new Iterm window, the script does not actually run, I just the get the empty ...
0
votes
1answer
40 views

Odd bug in iTerm — Why is my name wrong?

I opened up iterm and it says "jessica-s-phone" I'm not sure what the term for that is. I checked my profile and it isn't there.
3
votes
2answers
328 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 ...
7
votes
6answers
392 views

Completion for git commands

I recently switched from using an Ubuntu box for the last 7 years to a Mac. I have read other posts like Switching from Ubuntu to OS X and I'm lost and What is the difference between iTerm2 and ...
1
vote
1answer
53 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 ...
2
votes
0answers
54 views

How to prevent OS X's 'screen' command from resizing the terminal upon entry?

I usually run my terminal sessions in 132 character wide mode in iTerm. However, when I start the 'screen' command, it re-sizes the terminal back to 80 characters. Is there a way to prevent this?
0
votes
1answer
68 views

\u2018 includes a whitespace character under Mac OS X

Regardless of whether I use the GNU version of printf--and regardless of whether I'm using the \u2018 escape sequence in printf or in nodejs's console.log--the unicode character ‘ is always ...
3
votes
1answer
1k 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
2answers
493 views

Hidden login script

I have a bash shell script that runs on login. Even though I selected the "hide" checkbox in system preferences, iTerm still shows while running it. How do I completely hide it?
1
vote
2answers
2k views

zsh themes loaded but not working

I set theme in .zshrc file: ZSH_THEME="random" And when open new tab, it shows that new theme is loaded: [oh-my-zsh] Random theme '/Users/maks/.oh-my-zsh/themes/gozilla.zsh-theme' loaded... mac ...
3
votes
1answer
935 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 ...
0
votes
1answer
296 views

In iTerm, why is a command shell's command not picking up things on my $PATH?

I've got a script in my ~/.bin directory that changes iTerm's background before starting an SSH session (as detailed here, script slightly modified from this version). If I start a regular login ...
1
vote
0answers
24 views

In iterm I can't put directly some characters like ~ or "

When I try to put characters like " or ~ in iterm it gets underscores and waits for next one to be finally put, how I can stop it?
0
votes
1answer
192 views

Launch script after command finishes

I find myself running some long scripts/commands and I don't want to wait looking at it until it finishes. On the other hand, I would like to know right away when it ends. I know you can do the trick ...
1
vote
0answers
111 views

Tmux wihtin iTerm2: Unable to bind some keyboard combinations

I have the following bind-key definitions in my .tmux.conf file: bind-key -n M-I select-pane -U bind-key -n M-K select-pane -D bind-key -n M-J select-pane -L bind-key -n M-L select-pane -R However, ...
0
votes
1answer
184 views

iterm2 and tmux: Keyboard conflicts

When I open a terminal in iTerm2, I can use the command key to make it work like Meta, so that I can for example move between words (e.g. with ⌘-f and ⌘-v. However, as soon as I start a tmux session ...
1
vote
0answers
45 views

iTerm2 and CLI menus

How do I get iTerm2 to show CLI menus properly? I usually use those menus over ssh.
4
votes
3answers
762 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 ...
1
vote
2answers
386 views

Changing the default size of iTerm2 when it opens

I feel like this is a pretty stupid question but I Googled it and played around with it and still didn't figure it out so here we go: When I open iTerm2, it opens in a default size. How can I set it ...
0
votes
2answers
133 views

how to config color when i use iterm2 ssh linux server

I use Mac and use iterm2 ssh login linux Server . but when exec ls the terminal is Black and White how to config then like mac colors
1
vote
2answers
773 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 ...
1
vote
0answers
71 views

Issues with using the Japanese Kotoeri input sources in iTerm 2

When I type text in the middle of a line, the text is inserted over the characters right of it as if overtype mode was enabled. The text is displayed normally (or the characters on the right side are ...