Questions tagged [iterm2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

.bashrc not being run despite being sourced in .bash_profile and .profile on Mac/iTerm2

.bash_profile and .profile contain: [[ -s ~/.bashrc ]] && source ~/.bashrc To get things working when opening a new terminal or tab, I have to manually run: $ source ~/.bashrc $ $BASH_VERSION ...
0
votes
1answer
30 views

iterm2 - vim is printing line numbers while scrolling

In iterm2, while scrolling in the vim I see a strange behavior. Whenever I am scrolling it is printing line number with scrolling. How to overcome from this behavior call-hometic_scale_1.txt" ...
0
votes
1answer
29 views

Iterm2: tmux support not working with windows WSL (tmux -cc)

I use iterm2 on my local MacOS and tmux V3.0a on the target (Windows 10 WSL). When I init a connection with "tmux -CC" I can see something that looks like control traffic. I'd expect that ...
0
votes
1answer
164 views

How can I send an escape sequence from a nested tmux session to iTerm2?

This works (puts the date and time in the clipboard) in just iTerm: printf "\e]1337;Copy=:$(date | base64)\a"; echo $(pbpaste) This works in tmux running locally (using the DCS passthrough): printf ...
0
votes
0answers
53 views

make fails while installing darling

(Running Ubuntu 19.10) I was installing darling, a program that allows the running of Mac OS programs. I was going to use it to run iTerm2, as I love how it looks. I installed all of the needed ...
-1
votes
1answer
317 views

colorssh:7: maximum nested function level reached; increase FUNCNEST?

I got the following message when trying to ssh into a server using iterm2 in macosx colorssh:7: maximum nested function level reached; increase FUNCNEST? When using terminal app it worked fine. Not ...
4
votes
0answers
361 views

Do colour schemas interfere with 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 do they interfere with each other? For ...
0
votes
0answers
45 views

how do I make the nvm-managed version of node the default one for all processes?

I use nvm to manage node. However, every new terminal I create uses the wrong version. They use the one in /usr/local/bin/node, which is where homebrew put node. That's node v5. Using nvm, I've ...
1
vote
0answers
230 views

iTerm2 screen buffer not getting clear

I'm using bash as my shell and iTerm2 build 3.3.1 as my terminal emulator on Mac OS X 10.14.6 Whenever I use a type a long command, iTerm window overwrites my current line with the new symbols even ...
0
votes
0answers
45 views

Repeated characters SSHing into archlinux machine from mac with iterm2

I'm SSHing into an arch-linux instance. The account in question uses the ZSH shell. When I type characters I get an inconsistent repetition of characters. It looks like this. As you can see, the ...
1
vote
1answer
95 views

What is this visual artifact in vim?

I am using vim in iTerm2 on OSX Mojave. When I hit the key combo: ⌘ + ; at line 67, a blue bar appears beneath the line: I don't know what is it for and not sure if it is a vim function. Anyone ...
4
votes
2answers
219 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 ...
3
votes
2answers
401 views

Ctrl + U deletes whole line regardless of cursor position

I am learning terminal tips. In this tutorial, the guy says that Ctrl + U deletes everything from the cursor until the end of line. In my case, it always deletes the whole line. I am using zsh on ...
2
votes
1answer
396 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
926 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
37 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
503 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
119 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)?
-1
votes
1answer
49 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
335 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
67 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(). ...
3
votes
1answer
2k 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
2k 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
214 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): ...
1
vote
0answers
41 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
300 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 ...