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

Using child_process.spawn() to open VIM on raw mode causes it to freeze

Mind the following script: const child_process = require('child_process'); process.stdin.setRawMode(true); process.stdin.on("data", (data) => {}); var child = child_process.spawn("vim", ["README.md"], {stdio: "inherit"}); child.on("exit", (e,…
MaiaVictor
  • 51,090
  • 44
  • 144
  • 286
0
votes
1 answer

Applescript does not run user command

I need the applescript to run tabset test command to change the name of the current tab of iTerm. -- Launch iTerm and log into multiple servers using SSH tell application "iTerm" activate create window with default profile set newWindow…
leo
  • 1,045
  • 3
  • 15
  • 27
0
votes
1 answer

MongoDB entries sinde my .bash_profile are not recognized (Mac OS)

I installed MongoDB on my Macbook (Catalina 10.15.3) and placed all the necessary entries in my .bash_profile. However, these entries are not recognized, so I have to manually enter the following again and again in order to start MongoDB (for each…
Codehan25
  • 2,704
  • 10
  • 47
  • 94
0
votes
1 answer

OSX ITerm2/ZSH Terminal Application Execution Requires User to Press Enter to Resume

I am having an issue with ITerm2 on OSX Mojave. I have a long-lived python script running in the background and for some reason the OS or ITerm/ZSH keeps pausing the application and a Key Icon appears in the terminal -- which you can only bypass by…
Michael Scott
  • 539
  • 3
  • 8
  • 18
0
votes
1 answer

Why does emacs not work in iTerm anymore?

$ emacs -batch -l dunnet* zsh: command not found: emacs $ I tried to run this in iTerm, but the error came up. Please help me with this, this could also help a lot of people. (I wanna play my game!) *this is a game in iTerm, for anyone who's…
CauseYNot
  • 1,088
  • 7
  • 15
0
votes
1 answer

Double quotes being encoded in Jest tests

I highly doubt this is a Jest issue, but it's where the issue is popping up, so here goes. My team is using Jest for tests. Today, I was writing tests, something I hadn't done in a project repo for about a week. When running the tests today, they…
0
votes
1 answer

iTerm2: How to add a keyboard shortcut for a new action in iTerm2? n action that is not an option in the dropdown?

I would like to add a keyboard shortcut in iTerm2 for an action that is not displayed in the "Action" dropdown, in Preferences > Keys > + in iTerm2. The action I want is "delete a word before cursor" and "delete a word after cursor". Notes: I know…
samthegolden
  • 1,366
  • 1
  • 10
  • 26
0
votes
0 answers

My git doesn't track anything "git commit-m "something"

When I try to add something on github it gets stuck at "git commit -m"", it gives me multiple errors, and when I also was trying to push to origin master, writer object was loading for so long and in the end it was giving me error about the space…
0
votes
1 answer

ANSI sequence to change foreground and background color of cygwin mintty/Mac iTerm/Unix xterm

I typically have a lot of windows open on a lot of different computers. I want to have the .bash_profile on each machine set the foreground and background color to a color that is specific for that machine. I use mintty on Cygwin, and iTerm on the…
vy32
  • 28,461
  • 37
  • 122
  • 246
0
votes
1 answer

iTerm automatically opening when I download something in Chrome

I know this is a strange one... On my Macbook when using Chrome after I download a file (any file) after about a second iTerm opens up, front and center with focus. This happens if iTerm is open, minimized, or even if its not running at all. Any…
MTR
  • 1,411
  • 4
  • 14
  • 23
0
votes
1 answer

Handling multiple processes

I have to start about 6 or 7 processes in Iterm2 and would like to start each one in the same single window along with the name of each process given in each sub-window. Moreover, I would like to start these processes from a bash script. Any idea…
Shejo284
  • 4,541
  • 6
  • 32
  • 44
0
votes
1 answer

iTerm tab takes about 30s to load

This has been an issue going on for a while and I've tried several solutions over the past several months. Since I have my tabs open most of the time, I was able to live with it for a while but I want to understand what's going on. Here are some of…
eytanfb
  • 443
  • 4
  • 17
0
votes
1 answer

How to exit alternate screen scrolling on iTerm2 Vim?

First, sorry if the title isn't precise. I'm in a weird situation, while using Vim on Mac iTerm2. More precisely, when I release two finger click it scrolls down 3 lines. Sort of same thing is mentioned at…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
0
votes
0 answers

Lost my non git files from workspace

I have a directory called workspace under ~/Documents/workspace and, it contains multiple folders. Some of the folders in the workspace directory are cloned from GitHub and some are local directories. Yesterday, I downloaded iTerm on my Mac (At that…
Chetan
  • 469
  • 3
  • 12
  • 27
0
votes
1 answer

PATH error: "not a valid identifier"

I had to get a new hard drive on my Mac and in setting up my developer environment, I'm getting this error/message in the terminal (iTerm2): -bash: unset:…
Chuck LaPress
  • 278
  • 1
  • 10
  • 18