Questions tagged [iterm2]
The iterm2 tag has no summary.
45 questions
2 votes
1 answer
249 views
`type` command ignores `LANG` after upgrading to `bash` 5.3 on iTerm2/macOS
I'm on macOS and I set English as the locale except for LC_TIME: ~ $ locale LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-...
-1 votes
1 answer
283 views
iTerm2 color scheme: use alternative background color (41m)
I have set up iTerm2 to change its profile when I ssh to a specific machine. This works as intended (I am using zsh and oh-my-zsh). The main thing I do for this is in my ~/.zshrc file: echo -e "\...
0 votes
1 answer
394 views
Double zsh prompt is showing unformatted then formatted
Any command I run (aside from clear) results in a double zsh prompt -- the first one showing the unformatted prompt, the second one showing the correct, formatted prompt. My ~/.zshrc file: if [[ -r &...
1 vote
1 answer
575 views
iTerm2 - Deleting an entire word until whitespace [duplicate]
I have my iTerm2 configured with a shortcut to delete a word (keyboard mapping of Hex code 0x17). However, I want it to delete until reaching a whitespace: Current: cd hello-world -> cd hello- ...
0 votes
1 answer
72 views
On macOS, how do I clear the previous bad returns in iTerm2?
I want to permanently clear the bad returns in iTerm2. I have used "Clear" and "command-k" etc including with "l" shortcuts but it apparently only clears the current ...
0 votes
1 answer
1k views
My iTerm2 prompt is showing my username @ 192 and not my machine name... why?
Why would my iTerm2 command prompt change to user@192 instead of my machine name? And how do I prevent it from changing to user@192?
2 votes
1 answer
1k views
How to disable iTerm2 tmux integration
iTerm2 runs slowly when using tmux (without -CC control mode integration). It is clearly designed with the intention of using -CC. However, I don't like the desktop window management of tmux windows/...
2 votes
1 answer
575 views
MacOS/iTerm2/fish arrow keys stops working after terminating a process with ctrl+c
I am using iTerm2 on my mac pro, and using fish as my shell. Every time I have a process running and I break it by pressing ctrl+c, the arrow keys stops working after and starts emitting ^[[A etc. ...