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

learn more… | top users | synonyms (1)

-1
votes
0answers
14 views

Iterm2 text navigation shortkeys

I'm using iterm2 in mavericks and I have special error. I have setupped few hotkeys like: option+leftarrow/rightarrow => go one word backward/forward Those work just fine In the os x default ...
0
votes
0answers
11 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
53 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
0answers
10 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
44 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
8 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
19 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
44 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
42 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
66 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?
2
votes
1answer
358 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
65 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
31 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.
2
votes
1answer
126 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 ...
5
votes
4answers
178 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
37 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
46 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
56 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 ...
1
vote
1answer
553 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
236 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
975 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
440 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
159 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
23 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
136 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
87 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
125 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
42 views

iTerm2 and CLI menus

How do I get iTerm2 to show CLI menus properly? I usually use those menus over ssh.
4
votes
2answers
524 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
254 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
0answers
115 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
505 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
59 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 ...
0
votes
1answer
79 views

Clicking on folder in iTerm2 opens in web browser instead of Finder

I have iTerm2 v1.0.0.2 and I am correctly able to open folders in my home directory if command-click on them. However I am not able to open folders on my Desktop or Documents if I command-click them, ...
1
vote
0answers
76 views

iterm2: how to show alternate screen in iterm2

In terminal.app there is a shortcut to "Show Alternate Screen" Shift+⌘+l. Is there a shortcut to do the same thing in iterm2? If no, is there a way to assign one? How?
0
votes
1answer
27 views

Add shortcut for iTerm on Mountain Lion

I am trying to add shortcut for opening iTerm when I press F1. I added an application shortcut with this key but it does not work. I want to fire iTerm instantly irrespective of what application is ...
0
votes
2answers
200 views

Visually distinguish different lines (for long wrapped lines) in iTerm2 / Terminal

I'm using an application that outputs very long lines. It's fine - it means things aren't cut off at 80 characters - but the default Terminal and iTerm2 config makes it hard to distinguish between: ...
1
vote
0answers
191 views

iTerm2 and MacVim - how to make them play nicely together

I use vim with this wonderful plugin which constantly changes my colorscheme in order to let me find my perfect one. I use iTerm 2 too, which is themed itself. Now, when I use the non-GUI version of ...
1
vote
1answer
1k views

For iTerm2, how do I make the working directory appear in the window title?

I recently switched to iTerm2 from the default Terminal app and have a usability issue. On Terminal, the working directory you are in shows up on the title bar along with the process and pixel ...
0
votes
1answer
559 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
495 views

How to get “Subl” to work in my terminal?

Whenever I enter "subl" in the command line of iTerm it tells me that the command is not found. I have seen many message boards pertaining to this and nothing seems to work. I have tried entering "ln ...
1
vote
1answer
158 views

Ctrl + Cmd + Return doesn't maximize active pane in iTerm2

The split panes functionality is the primary reason why i use iTerm2. I can maximize/unminimize the active pane by using the View -> Maximize Active Pane menu item. But nothing happens when I press ...
1
vote
1answer
663 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 ...
2
votes
2answers
129 views

open iTerm drop down console on different screen

I use iTerm since a few days, and when i press my hotkey, it'll drop down nicely, from top of the screen, but ... on the wrong one. I have a macbook pro with mountain lion, and i connect it to a 24" ...
1
vote
2answers
306 views

Iterm2 disable Command shortcuts

I use Iterm2 on the Mac. Many times, I accidentally press Command+some key, so I'm wondering, is it possible to disable the Command shortcuts? Like Command+D for example, as I use tmux for split ...
2
votes
1answer
365 views

LANG variable wrong in iTerm2, where's the bug?

Today I noticed that when opening TortoiseHG the app was in Dutch (partially, not fully translated it seems). Looking around in my environment I found out that LANG=nl_NL.UTF-8. It is indeed true ...
3
votes
3answers
315 views

iTerm ZSH - Missing Right Prompt

I'm using oh-my-zsh and iTerm2. I've also enabled the zsh-vim-mode plugin from oh-my-zsh. One of the annoyances I've encountered is my right prompt (RPS1 & RPROMPT) doesn't seem to show up. I'd ...
3
votes
5answers
247 views

Are there any global key combinations suitable or specifically reserved on OS X for user assignment?

I'm trying to identify an appropriate global hotkey to set in iTerm2's preferences for showing/hiding it: I'd like to avoid any conflicts with other applications' hotkeys or other future use. Are ...
1
vote
1answer
160 views

Change mouse pointer in iTerm2 (or disable mouse pointer)

In iTerm2 (fullscreen mode) my pointer is permanently a "text select" pointer. It bothers me, so I would either like to change it (to the regular arrow-type pointer) or disable it when in my ...
0
votes
1answer
147 views

How do I view .nfo files in Terminal?

I'm trying to open an .nfo file correctly with the mac terminal (eventually with iTerm2) . I've tried it already with vim: vim file.nfo :set encoding=cp437 But it has not helped. Maybe there are ...