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
4
votes
1 answer

How do I close background jobs when I quit iTerm2?

OS X's Terminal application closes background jobs when you quit the application. How do I achieve this behavior in iTerm2? Thanks a lot!
pstinghua
  • 55
  • 6
4
votes
2 answers

iTerm Mac/ How to export/import bookmarks

How can I Import/Export bookmarks in iTerm program on Mac OS X?
xpepermint
  • 35,055
  • 30
  • 109
  • 163
4
votes
1 answer

iTerm/bash script to open my workspace

So I want to open my workspace automatically when I open a profile for work, the problem is that it opens the windows (and windows splits) correctly but doesn't run any script to start my server, celery tasks, get into the correct folders, etc. Is…
Hassek
  • 8,715
  • 6
  • 47
  • 59
3
votes
1 answer

How to restore iTerm2 tabs in the same directory

I would like to restore iTerm2 tabs in their own directories as they were when iTerm2 was closed. For instance, I have 10 tabs, in each tab I have different directories. Now, when I close iTerm2 and re-open it, it will start all 10 tabs, but all of…
Valentin
  • 1,492
  • 3
  • 18
  • 27
3
votes
4 answers

iterm2 use bash as well as zsh

Im trying to setup iterm2 to use bash (as well as zsh). When I open iterm2 it defaults to zsh. I am happy with zsh but I would like to add a "bash" iterm2 profile to allow me to open a new tab in bash if so desired. Is this possible? Please advise -…
danday74
  • 52,471
  • 49
  • 232
  • 283
3
votes
1 answer

How can I run some command in iTerm session using the Python API

I am trying to write a script that'd do some automation on my iTerm2. I am using the Python API for iTerm since I know nothing about AppleScript. What I need to do is basically, split the screen is 6 windows and run 6 microservices locally in each…
user1532043
  • 859
  • 2
  • 15
  • 26
3
votes
1 answer

iTerm: set marks in SSH session

I'm trying to make iTerm give me a notification whenever a command I run in an SSH session completes. To do this, I set marks whenever I run a command which notifies me whenever the command completes. However, it seems like I can't set when I am…
Skeleton Bow
  • 479
  • 1
  • 9
  • 22
3
votes
1 answer

iTerm2 & Atom - Switch profiles based on input bash commands in ~/.bash_profile, looking for suggestions

The weather has gotten pretty decent where I am at and recently I've been working outside more often than not. Usually when inside I use a dark theme that is comfortable for the eye, but outside, obviously, I can't see crap and resort to changing…
felipe
  • 7,324
  • 2
  • 28
  • 37
3
votes
4 answers

Remap ⌘S to save a file in VIM

I have recently switched from using MacVim to just using Vim on the command line. One feature I miss is being able to save a file with ⌘S rather than having to go back into normal mode and then :wq I am using Vim inside iTerm2. Is there any way to…
Crofty
  • 73
  • 1
  • 6
3
votes
2 answers

iTerm2/Oh My Zsh: How to change preview text font color?

Simple questions, possibly more difficult answers...when I begin to type a command I have a preview/auto completion. I'm wondering how I can change the font color (too dark). I included screenshot for context
Xtremefaith
  • 907
  • 1
  • 9
  • 29
3
votes
0 answers

zsh profile not working on Iterm2

I have installed oh-my-zsh and Iterm2 but when I change my theme to Agnoster nothing changes. Here's my .zshrc file: export ZSH=/Users/{username}/.oh-my-zsh ZSH_THEME="agnoster" plugins=( git ) source $ZSH/oh-my-zsh.sh But my Iterm2 terminal…
grpcMe
  • 1,367
  • 5
  • 15
  • 28
3
votes
0 answers

RGB-colors in .itermcolors (for iTerm): -entities?

I'm trying to set my color-palette in iTerm, and are looking at the setup in the .itermcolors-files. I've made it as far as to figure out that this color: Foreground Color Blue Component
Zeth
  • 2,273
  • 4
  • 43
  • 91
3
votes
2 answers

iTerm2: quick download over SSH using CMD+click

iTerm2 allows you to click on a link (CMD+click) and open it quickly. However, when working over SSH, this doesn't work. Is it possible to enable this functionality, so that I can CMD+click a file, and it will automatically download into a folder on…
user3077113
  • 41
  • 2
  • 4
3
votes
1 answer

how do I make x11/xQuartz stop opening up

the past week or so, I've been having an issue where whenever I open iterm (and sometimes when I just open vim) xquartz/x11 will open. I have version 7.4.1941 of vim. How do I make it stop opening xquartz?
user2725514
3
votes
3 answers

where all these aliases are stored?

On my macbook when in iterm I run alias I can see a bunch of aliases, huge amount are for git, and mostly they are ok, but I'd like to change some. I tried to add few to ~/.bash_profile: alias gcm='git commit -m' alias c='clear' but it had no…
Andrey Deineko
  • 51,333
  • 10
  • 112
  • 145