Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [iterm2]

The tag has no usage guidance.

2
votes
1answer
116 views

TMUX + Rails = stty: 'standard input': unable to perform all requested operations

I have a fairly large Rails project that always returns the following after every command in the Rails console: stty: 'standard input': unable to perform all requested operations This only happens ...
-2
votes
1answer
259 views

Quotes don't work anymore with: git commit -m “My commit message” [closed]

I am not sure what is going wrong (terminal, shell, system?), but when I enter: git commit -m "My commit message" this morning, I get: error: pathspec 'My' did not match any file(s) known to git ...
0
votes
2answers
13 views

iTerm2 inyecting text into the console

I'm using iTerm2 in a MacOS Sierra. I'd like to have the ability to inject some text into the console (like for executing a string of commands). Ideally, I could have a local file # local.txt echo ...
0
votes
1answer
263 views

How can I launch a new session of tmux in iTerm2 on a separate window?

I would like to start a tmux session on a separate window in iTerm2. Now I'm writing my own configuration script to launch the session. tmux new-session -s dev -n main -d tmux send-keys -t dev "cd $...
0
votes
0answers
74 views

How to change color of any IP address in iterm?

How can I change the color of any IP address displayed on the iterm2 (CentOS)?
2
votes
0answers
166 views

Does color schemas interferes by settings from iterm2, oh-my-zsh and vim?

There are so many color schemes for terminal environment, themes for shell and color coding schema for vim, I wonder what's the relation between them and does they interfere each other? For example, ...
-1
votes
1answer
39 views

How to change colors as user in Redhat linux server (iterm2, ssh)

My school server is Redhat 7.4 and I really hate the default colors which are printed in ls. bold and dark colors with a black backround is really hard for me to see any file names. I am currently ...
1
vote
1answer
213 views

Unable to start firefox on centOs 6 from iterm2 on mac

I have installed firefox and xauth on the centOs 6.6 server as follows: sudo yum install firefox sudo yum install xauth On my mac, I am using iTerm2 On my iTerm2 session, I also exported my display ...
1
vote
1answer
49 views

Different cat Output for Hard Linked File over SSH? [closed]

I have a single initial file created using a C program on OpenSUSE Leap VirtualBox VM being accessed via ssh from OS X. The file is created with mkstemp() that a hard link is created for using link(). ...
2
votes
1answer
1k views

How to ssh-add a SSH key without recreating a new instance of SSH agent?

I add the following in my .bashrc ssh-add ~/.ssh/id_rsa so when I open a new tab in my shell/terminal app (iTerm2 on macOS), it automatically add the SSH identity using the SSH agent and I don't ...
2
votes
1answer
1k views

How to use regex negative lookahead?

I'm trying to use iTerm2 profile triggers on my mac to change the prompt if I leave my home directory. This rule should only apply when the node I'm on has a hostname of headnode. The prompt will ...
1
vote
1answer
147 views

Colored terminal output ignores reset sequence. Color continues

I fiddled with this for a couple of hours and couldn't find a solution... Lets say I print this to a terminal (tested with bash and zsh in a genome-terminal in a VM running a fresh Linux Mint): ...
4
votes
1answer
155 views

Execute cd in two windows with one command

I used iTerm2. I often split the pane into two windows. When I want to change the directory in one, I want to also change the directory in the other automatically. Is this possible? A Tmux solution ...
1
vote
0answers
38 views

Allow multiple iTerm2 window

I'm using iTerm2 with XtraFinder. XtraFinder allow you to open a terminal in the current folder. In version <= 2.1.4, it works great. When I upgraded to version 3.0.9, it never opens a new iTerm2 ...
0
votes
0answers
231 views

sz stuck with iTerm2

I'm using sz with iTerm2, and sz takes a minute to download a small file (750 byte), I'm not sure why Looks like sz is waiting for something? Anyone know why? Besides all that, the contents of the ...