-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 ...
3
votes
1answer
46 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 ...
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
46 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 ...
2
votes
1answer
380 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
33 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.
5
votes
4answers
185 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?
1
vote
2answers
1k 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
461 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
168 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?
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
536 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 ...
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, ...
0
votes
2answers
201 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
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
504 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 ...
3
votes
3answers
316 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 ...
0
votes
1answer
150 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 ...
3
votes
1answer
86 views

How to find delay when launching new Terminal (iTerm)

When I press CMD+N in iTerm2 to bring up a new iTerm window, sometimes it takes 10 seconds before I get my prompt. If I immediately repeat the process, the whole thing takes 1 second. To me this ...
2
votes
2answers
917 views

How to customise .inputrc to make command-delete and alt delete delete line and word in terminal?

I'd like to add a little bit of consistency between editing text on the terminal and editing text in normal OSX programs. I use iTerm2, but I imagine any solution would involve using readline and ...
1
vote
1answer
511 views

How do I make terminal sessions resume on Lion with iterm2 and tcshrc

My understanding is that with Lion my terminal windows should restore their state. However, this does not happen for me. I wonder if this is because I use tcsh instead of bash? Is there something I ...
0
votes
1answer
113 views

Why does Terminal swallow Ctrl+up/down keystrokes?

In Terminal.app on Snow Leopard, the key combinations Ctrl+↑ and Ctrl+↓ don't get passed through correctly. Instead Terminal.app receives a single ↑ or ↓ key stroke. I have verified this by running ...
3
votes
1answer
523 views

vim not working under iTerm2

Basically, vim behaves strange under iTerm2 (it works normally in Terminal). It sets the cursor in a non existing lines, it displays garbage (content from other lines) when I try to edit a line in a ...
0
votes
2answers
396 views

How can I connect Linux server with Applescript using iTerm or Terminal?

I want to connect and run bash script on Linux server automatically by using Applescript and iTerm or Terminal on OS X. How can I connect Linux server with Applescript use iTerm or Terminal?
0
votes
2answers
591 views

How to change the color and format of the static host/path/user string in the Terminal or iTerm?

Example: cookie:~ j$ date Sun Aug 5 02:14:29 CEST 2012 cookie:~ j$ Just as it's pasted here, all three lines are of the same color. I would like to have "cookie:~ j$" or at least part of the ...
3
votes
1answer
376 views

Automating terminals at startup

Is there any way to automate a bunch of terminals starting up at once. I find myself opening several windows and running the same sequence of commands in various tabs. I'd like to stick all this in a ...
1
vote
2answers
5k views

ls output does not have color while SSHing to another machine with iTerm2, but does with Terminal

Just as the title says, when I ssh to my work Fedora server with iTerm2 I don't get color ls output. When I ssh to the same server with OS X's default Terminal app, ls color output works just fine. ...
0
votes
2answers
913 views

iTerm2 terminals close immediately with “argpath=login error=No such file or directory”

Whenever I try to open a new terminal window in iTerm, it closes right away after displaying this: ## exec failed ## argpath=login error=No such file or directory Does anyone know what is causing ...
1
vote
1answer
414 views

F9 key with BYOBU

I have installed BYOBU via Brew and all the F keys work except for the F9 key which happens to be the key used to get to the menu. I have worked around this by editing the ~/.byobu/status files ...
13
votes
3answers
7k views

iTerm as a slide-out terminal from the top of the screen

I have installed iTerm2 and was hoping I'd have something like guake (Yes I just switched from Ubuntu). I mapped the hotkey to a button of my choice and it works fine, but I miss the ...
1
vote
1answer
288 views

Switching terminal styles in iTerm 2

Recently I've been trying to become more efficient at the command line, and stumbled upon iTerm 2 a couple days ago. One feature of iTerm 2 is that windows can appear from the top of the screen, so ...
9
votes
4answers
1k views

Option + click in iTerm

In Terminal, Option + click allows me to place my cursor at any point on the current line-- great for editing really long commands. How can I do this in iTerm2? Update: According to this page, the ...
10
votes
1answer
2k views

Using tmux and pbpaste, pbcopy, and launchctl

I have discovered that tmux breaks pbpaste, pbcopy and launchctl. Is there a good way to make it play nice with these tools?
0
votes
3answers
256 views

Why does Terminal ignore capital “B”?

this happens to me from time to time: when I am using the Terminal, suddenly the terminal starting to ignore the capital 'B', regular 'b' works fine, other capital letter work fine. other applications ...
1
vote
0answers
82 views

why does less seem to think my terminal has more lines than it does?

Don't know if this is really an OS X question, but: less seems to insist that my terminal (whether I'm using the builtin Terminal or iTerm2) has more lines than are actually displayed, and so the top ...
5
votes
4answers
2k 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 ...
16
votes
1answer
5k views

Set iTerm2 as the ssh:// URL handler

Currently, Terminal is set to handle SSH urls. For example, if I do: $ open ssh://machine.example.com Then it will spawn a new SSH session in terminal. I'd like these to be opened in iTerm2 ...
53
votes
7answers
25k 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. ...
1
vote
1answer
525 views

I've managed to break my terminal, (iTerm2(b17), ZSH, OSX10.6.6)

I'm migrating to a shiny new laptop (yay) unfortunately I've manually set up my iTerm to match the old machine, but something is not right (not yay). I'm experiencing using xterm-256color doesn't ...
9
votes
4answers
2k views

How to jump to a location using mouse on iTerm/terminal?

I work on a terminal most of the time. Is there an application / plugin over iTerm or any other terminal like application using which I can control the cursor location of my terminal using a mouse ? ...
2
votes
2answers
4k views

How do I get vim to work at 256 colors in iTerm?

I just got a new iMac, and installed iTerm (0.10). On my last laptop 256 color mode worked fine, but I'm having trouble getting this to work on my new Mac. I copied over all the settings, set $TERM ...
7
votes
2answers
1k 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 ...