Questions tagged [iterm]

iTerm is an enhanced terminal emulator for OS X and macOS

iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with OS 10.5 (Leopard) or newer. Its focus is on performance, internationalization, and supporting innovative features that make your life better.

332 questions
16
votes
4 answers

Multiple tabs with tmux / tmuxinator and iTerm2

I would like to open all my useful stuff like here in iTerm2: Not like this: I'm using tmuxinator I've defined some tabs. I wonder if it's possible to get the former behaviour at all.
Tomek Wałkuski
  • 989
  • 12
  • 22
15
votes
1 answer

iterm, unable to fork, too many processes?

I wasn't able to open new iterm window due to the message, the photo above. Even though t definitely looks running too many processes,I think mac wasn't running too many processes. I've checked activity monitor but couldn't find any difference…
Travelholics
  • 868
  • 1
  • 6
  • 9
14
votes
0 answers

How do I import a .terminal profile in Iterm2?

If I have a .terminal profile - created with the default Terminal app for Mac - how do I import it in Iterm2 ?
nicdelillo
  • 517
  • 5
  • 13
14
votes
2 answers

How do I invert the color scheme on iterm2?

I'm using iterm2 (v3.0.14) on Mac Sierra. How do I invert the color scheme on my terminal? That is, right now, the default is a black background with white lettering, and I would prefer a white background with black lettering. Note that I don't…
user7055375
13
votes
4 answers

git@gitlab.com: Permission denied (publickey). fatal: Could not read from remote repository

I am using macOS Catalina. I already have a repository on GitLab and an SSH-key assigned. Now I want to create another repository from the terminal. I do the following: git config user.name my_name git config user.email my_email git init Then I get…
beliz
  • 402
  • 1
  • 5
  • 25
13
votes
2 answers

Permission denied when trying to self-update composer

When I am trying to self-update my composer, I get "Permission Denied" error. Even when I use sudo /usr/bin/composer.phar self-update, it shows me command not found. Please help me I have no idea about composer
Jackaroo Ng
  • 585
  • 2
  • 6
  • 19
13
votes
1 answer

Change the terminal app for Docker Quickstart Terminal

I've just installed Docker Toolbox on OSX, and the first time I launched Docker Quickstart Terminal it prompted me to choose which terminal to open in. I stupidly chose iTerm. Now, having realised my usual terminal these days is Terminal, I want to…
And Finally
  • 5,602
  • 14
  • 70
  • 110
13
votes
5 answers

Tmux copy buffer limit

Whenever I copy something (usually with a mouse) from a tmux buffer, and paste it later in ViM, the contents are truncated. Last attempt gave me only about 750bytes of the full block I copied. This is in iTerm on a Mac.
Evert
  • 93,428
  • 18
  • 118
  • 189
13
votes
6 answers

Applescript (osascript): opening split panes in iTerm 2 and performing commands

The following works to open two tabs in iTerm 2. I can't seem to figure out how to get this to using split panes instead. I've tried applying what I see on several forums, but it never works. Could someone point me in the right direction? osascript…
Joel
  • 665
  • 2
  • 9
  • 23
13
votes
1 answer

How to make iterm2 send Control-H for backspace so it works for all Linux shells

I had some problems with Terminal.app in OSX when my backspace key didn't have backspace behaviour. Basically, pressing backspace caused a delete instead. In Terminal you can fix this by going to Preferences/Settings/Advanced and ticking 'Delete…
ale
  • 11,636
  • 27
  • 92
  • 149
12
votes
3 answers

In iterm how do I show the start time of a command

I would like to see when I typed a certain command. How do I display this in my terminal prompt?
rose specs
  • 905
  • 8
  • 18
12
votes
4 answers

Bash printing color codes literally and not in actual color

For some reason my shell script stopped printing my menu in color and is actually printing the literal color code instead. Did I somehow escape the color coding? Script #!/bin/bash function showEnvironments { echo -e "\e[38;5;81m" echo -e " …
Adrian E
  • 1,884
  • 3
  • 21
  • 33
12
votes
3 answers

How do I execute a command in an iTerm window from the command line?

How do I run an iTerm session from the command line, passing in the command which is to be executed in the iTerm window? The xterm analog is -e, i.e. xterm -e sleep 10
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
12
votes
4 answers

How to set iterm2 tab title to that of a running tmux session name?

i know tmux display-message -p '#S' will display the current tmux session name, but i donno how to set the current tmux session name to the iterm2 tab title? This would really help me to distinguish the various tmux sessions that i am running…
Prabhu M
  • 483
  • 2
  • 7
  • 9
11
votes
2 answers

Why is my Ctrl-key disabled in iTerm.app?

I'm trying to use the new iTerm app on my Snow Leopard Mac, but my Ctrl seems to be completely dead (as in non-responsive, as in nothing happens when I type Ctrl+a except for an outputed 'a') and I haven't found anything useful while googling. The…
monotux
  • 3,657
  • 28
  • 30