Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 214359

iTerm is a third party replacement for the built-in Terminal application.

7 votes
2 answers
5k views

How can I disable the bell icon/emoji from the title bar in iTerm2?

I find it annoying and get no use from it. Here's a picture of what I'm talking about:
Luke Davis's user avatar
3 votes
Accepted

How can I set the iTerm2 window title to be the same no matter which pane is selected?

In the end I solved this by adding the following lines to my .bashrc. # Private variables _title_file=$HOME/.title _win_num=${TERM_SESSION_ID%%t*} _win_num=${_win_num#w} # Record title from user inpu …
Luke Davis's user avatar
9 votes
3 answers
17k views

How can I set the iTerm2 window title to be the same no matter which pane is selected?

I'm aware that the iTerm2 window title can be set with echo -ne "\033]0;"Title goes here"\007" but that appears to only set the title for a single pane. When I switch panes, the window title is cha …
Luke Davis's user avatar
5 votes
2 answers
6k views

How can I make iTerm2 *cd* into a directory by clicking on *ls* results?

Would it be possible to make some sort of remap where command-clicking or highlighting some text in the terminal triggers iTerm2 to attempt to cd <text>? Would make life somewhat easier when navigatin …
Luke Davis's user avatar
0 votes
1 answer
487 views

How can I "Quick Look" (result of pressing Space Bar in Finder) a filename printed by "ls" i...

Simple question: is it possible to get the "Quick Look" of images and text files by clicking the results of ls in an iTerm2 window?
Luke Davis's user avatar
1 vote

How can I "Quick Look" (result of pressing Space Bar in Finder) a filename printed by "ls" i...

Can't find any relevant documentation anywhere, and this does not seem to work Terminal, but this is possible. On my machine (macOS Sierra), I can triple-click a filename or folder after calling ls i …
Luke Davis's user avatar
2 votes

Colors are different when SSHing onto a Linux machine from iTerm2. How can I standardize them?

The VIM part of this question was answered here. Turns out my local session had background set to dark in VIM, and my remote session had background set to light. I just added the line set background= …
Luke Davis's user avatar
4 votes
Accepted

Colors are different when SSHing onto a Linux machine from iTerm2. How can I standardize them?

I found the answer to the "ls colors are different" problem. You just need to make sure ls coloring is enabled on both machines, then use this page to make the colors encoded in the local (Mac) LSCOLO …
Luke Davis's user avatar
5 votes
2 answers
4k views

Colors are different when SSHing onto a Linux machine from iTerm2. How can I standardize them?

Currently, when I SSH onto a Linux machine, the ls output colors and syntax coloring in VIM are different from the colors on my local machine. The colors shown are not defined in my Profile...Colors.. …
Luke Davis's user avatar
2 votes

How can I make iTerm2 *cd* into a directory by clicking on *ls* results?

Here's another approach that should work in remote sessions. Just create the keyboard remap as shown below (go to iTerm2...Preferences...Keys and click on the "Plus" sign, then select "Paste from Sele …
Luke Davis's user avatar