M HYPE SPLASH
// news

Questions tagged [iterm2]

By Michael Henderson
Ask Question

iTerm2 is an open source Terminal replacement for OS X

333 questions
0 votes 0 answers 12 views

iTerm2 - How to set "Pin hotkey window" in json profile

I am using iTerm2's dynamic profile and versioning a profile.json to set my preferencies automatically. I am configuring hotkey configs in profile.json and tried all the possibilities to set "Pin ... user avatar rmakoto
  • 1
0 votes 0 answers 18 views

Faster way to send CMD+number in bash than osascript

I’m currently sending the following command in Bash (on Mac): osascript -e ‘tell application “System Events” to keystroke “$TERMINAL_NUMBER” using {command down} While this does exactly what I want. ... user avatar drjrm3
  • 1,344
0 votes 0 answers 14 views

Applescript to receive and translate keystroke

My AppleScript will launch with iTerm2 and be a window management script. It will be a little bit complex, but in essence I want it to translate CMD+<letter> to CMD+<number>. So a minimal ... user avatar drjrm3
  • 1,344
0 votes 0 answers 40 views

How to close a tab in iterm2

I am using iTerm2 on mac. I am unable to close the tab using cmd+W. I tried to find a way to manually add a shortcut to close a tab but I couldn't find any such action in Preference-> keys-> key ... user avatar CodeTalker
  • 133
0 votes 0 answers 101 views

How to change the font color in the title of iTerm 2?

Does anyone know what option should I put in .zshrc to change the font color in the title of iTerm from grey to white? I spent 24h and still couldn't find the right option because there are a lot of ... user avatar Chris Caro
  • 1
0 votes 0 answers 178 views

Git colors not displaying in terminal

Text in both the default terminal and iTerm2 are plain white when running git commands and I want it to be properly colorized. I've reviewed this question and this question and verified the following: ... user avatar Will Custode
  • 101
1 vote 0 answers 25 views

Is it possible to set the default iTerm profile using CLI?

I'm trying to write a MacOS provisioning script for iTerm2 which will (1) load in a dynamic profile and (2) set it to use as the default profile. Loading the profile is just a matter of putting it in ... user avatar slifty
  • 1,569
0 votes 1 answer 79 views

iTerm2 clear screen should not delete output of running command

When I used command + k the output of the actual running command was not cleared. Now with my new MacBook I don't know how to set this feature again. Has anyone an idea? user avatar Ben Keil
  • 101
2 votes 1 answer 110 views

Is it possible to set separate fish color configurations for light and dark system theme?

I use a terminal (Iterm2 Beta) that allows you to set a separate theme for light and dark mode. This is useful for changing the background color of the terminal, and the contrast of the various preset ... user avatar Cypress
  • 121
0 votes 0 answers 10 views

How to only select commands from hints in iterm2?

I know how to enable/disable autocomplete command hints in iterm2 on my MacBook Pro Early 2015. Whenever I press enter to select commands from hints, iterm executes them as well. I want to edit those ... user avatar Sufyan
  • 101
0 votes 0 answers 82 views

In Iterm2, can I have a new window start the prompt and cursor at the bottom of the window?

I frequently clear my Iterm2 window (⌘-K) or open a new tab before starting a long-running task. I would like the new tab to have the command prompt and cursor at the bottom of the window, not the top.... user avatar David Hempy
  • 61
8 votes 1 answer 4k views

How do I disable the beep/bell sound in iTerm2 in macbook?

The shell in macbook makes annoying beep/bell/boop sounds. For the OEM terminal, this answer works on disabling this annoying sounds: user avatar rrlamichhane
  • 351
1 vote 0 answers 718 views

Why running iTerm2 the first time installs pip3?

When iTerm2 is run for the first time on a Mac, it starts installing pip3. I am trying to understand why. In my case I was on a slow network and the install would have take 3 hours, so I stopped the ... user avatar Naresh
  • 189
0 votes 0 answers 42 views

iTerm tmux session unable to click in w3m browser

After running tmux -CC within iTerm2, I launch w3m. Usually I am able to use the mouse to interact by double clicking on links. I cannot however double click when running tmux. I have tried clicking ... user avatar Harrison G
  • 76
0 votes 0 answers 40 views

How can I view more of my history in Screen on MAC?

I have a screen on iTerm on my MAC that printed out a lot of important messages. I didn't set the scrollback buffer to be unlimited unfortunately. How can I view more messages from my current screen ... user avatar lightbox142
  • 1

15 30 50 per page1234523