Questions tagged [iterm2]

`iterm2` is a GPL terminal emulator available on macOS.

859 questions
0
votes
1 answer

My terminal (iTerm2) suddenly has a new prompt

I just opened a new tab in iTerm2, and the prompt is now unknown48437c7db712:~alecwilson $. In the tab that was already open, I checked, and the prompt used to be tests-MacBook-Air:~ $. It's asking me to provide my RSA key for github but doesn't…
Alec Wilson
  • 566
  • 1
  • 7
  • 18
0
votes
1 answer

how can i code in colors with OS X terminal, iterm2

i've used OS X and when i edit codes in terminal or iterm2, the codes(java, c++, etc) are always colored so that it can very helpful to code with them. However, i don't know when exactly it happens, but the codes are just all black in terminal and…
M.Yoon
  • 1
  • 2
0
votes
1 answer

iTerm don't save 'set' parameters to use vim

I'm using iTerm2 with vim to work with python files. When I create or start editing a file using 'vi', I always have to introduce all the configuration values like ':set number', ':syntax on', etc. I have edited '.vimrc' from MacVim to save this…
coyr
  • 659
  • 6
  • 9
0
votes
1 answer

Why my vim split window line so ugly?

When I split window, an ugly split line appears. I wonder why there is grey spaces between the '|' separator. I want only the '|'. By the way, I use mac iterm2. I wonder some vim plugins cause this, but not sure.
linuxie
  • 127
  • 3
  • 14
0
votes
1 answer

Terminal configuration is incorrect

I'm having issues with two parts of my Terminal installation in particular. The first is the prompt area. Look at how on each new line it says 108% instead of >. I'd like to know how I can switch that back to >. ![Image of Terminal][1] The second…
user3172050
  • 839
  • 2
  • 9
  • 21
0
votes
1 answer

Weird characters using vim on iterm2 on Mavericks

When I start vim in iterm2 on Mavericks I get the following weird characters More of the same appears somewhat randomly when I type. Possibly more when i type brackets Any ideas?
kelceyp
  • 51
  • 1
  • 7
0
votes
2 answers

MySQL Screwed Up Output

I'm see some very strange outputs from MySQL, and I don't know whether it's my console or my data that's causing this. Here are some screenshots: Any ideas? edit: mysql> describe…
Max
  • 1,399
  • 13
  • 28
0
votes
1 answer

Tmux current pane indicator when focus regained

I'm trying to create a visual indicator of which pane is currently focused in tmux when my terminal (iterm2, OSX) window gains focus. I have found that iterm2 sends a focus gained escape sequence (^[[I) so now I am trying to find how I can capture…
Rory Stephenson
  • 320
  • 2
  • 11
0
votes
2 answers

background issue with my vim

How do I get rid of the gray-highlight in my vim editor? I am not selecting anything, this is what I see when I load VI. Thank you. image: http://postimg.org/image/xe7uw7nqt/
David Trinh
  • 319
  • 1
  • 12
0
votes
1 answer

Can I change the 256 color mappings in iterm2 or Terminal?

For example, I'd like to change the color "52" found in this chart to a much darker red. Just to be clear, I'm not looking for a way to create a color theme. I want to redefine the underlining color that are mapped to the standard 256 colors.
mjezzi
  • 520
  • 1
  • 4
  • 11
0
votes
1 answer

Using zsh, rvm, and iterm2 not reusing my current directory when opening new tab

I'm using rvm, zsh and iterm2 on development. When I'm going to the directory of my project using iterm2 and then open new tab why is it that my new tab always redirect me to the root directory? I change the preferences of my iterm2 to reuse…
AllenC
  • 2,754
  • 1
  • 41
  • 74
0
votes
1 answer

1. Shell and 1.bash on top of iTerm window?

when I open Iterm, the top of the window says 1. Shell and then quickly changes to 1.bash. Can anyone tell me what they mean? And is it possible to change the title on the top? Thanks!
Saad
  • 49,729
  • 21
  • 73
  • 112
0
votes
1 answer

Solarized colors for shell don't work in iTerm2 (and Terminal). All colors are the same

How to make syntax highlighted for shell?
Kirill
  • 1,530
  • 5
  • 24
  • 48
0
votes
1 answer

Format the Rspec output in the terminal

I want to remove the milliseconds and the begin transaction and rollback transaction from the output Also want to remove the database queries. All I want is the test itself. Is there a way to get it done?
codingninja
  • 1,360
  • 2
  • 13
  • 24
0
votes
1 answer

OS X: $ cat /dev/random asks me to print

When I run: $ cat /dev/random on OS X 10.9, after a short period of time, a print dialog pops up asking me if I want to print gibberish (iTerm2). Using the native terminal application, it just crashes. I understand that /dev/random produces noise…