875 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
58
views
React Native Metro Bundler Not Starting : runtime not ready
I am getting this issue a lot recently. I have clean build my react native project multiple times, updated iterm 2, cleaned the metro bundler and the .env file is also in the correct place with ...
0
votes
0
answers
151
views
Why does `read` stop the function?
If I define a bash function like this
test1 () {
(
touch /tmp/test1
rm /tmp/test1
read -rp "Enter anything: " anything
echo "Anything: ${anything}"
)
}
and set ...
0
votes
1
answer
504
views
Console output becomes misaligned
Description
Once in a while I'll be working on things and suddenly my console's alignment gets completely messed up. I think it's usually after a command fails or crashes (though I haven't been able ...
0
votes
0
answers
213
views
mouse in tmux cannot copy text
My tmux version is 3.5a, and terminal is iterm2 3.5.11, os is macOS.
tmux config is
set -g mouse on
setw -g mode-keys vi
set -sg escape-time 0
set -g renumber-windows on
# Setting the prefix from C-b ...
1
vote
0
answers
62
views
Zsh: How to prevent multiple commands pasted together from being saved in history?
I have a Python script that helps us log into AWS CLI regardless of the operating system. On Linux, this script generates the following output:
set +o history
export AWS_ACCESS_KEY_ID=secret_value
...
0
votes
1
answer
76
views
Color scheme not working for username and folder
I just started to use iTerm2 and imported the Dracula color theme into the Color presets. But when I open my bash terminal on my Mac, as can be seen in the screenshot below, I do not see my name first ...
joesan's user avatar
- 15.6k
5
votes
1
answer
667
views
Delete (forward) does not work anymore in Neovim / iTerm2 (macOS)
I think since the last iTerm2 update, the DEL (⌦) key does not work anymore when using Neovim (NVIM v0.10.2).
In normal mode it does nothing and in edit mode it displays the following character: (...
COil's user avatar
- 7,676
0
votes
0
answers
575
views
iTerm2 + Starship + zsh-autosuggestions
I'm on a mac.
This erroneous behaviour only occurs in iTerm2. Not in the built in Terminal application. Not in Warp.
If I activate the Starship prompt. Combined with if I activate the zsh-...
0
votes
1
answer
336
views
Is there a way to customize the log stream colours in the Azure Portal or CLI?
We have a number of web apps hosted in Azure and I sometimes find it hard to follow the log streams (whether via the internal log stream GUI or via my own CLI) to to everything being one colour (bland ...
1
vote
0
answers
205
views
Select to the end of the line in iTerm2
Is it possible to set up a shortcut that lets you select the text starting from the cursor location to the end of the line? I want to achieve something like CTRL + SHIFT + ->, or CMD + SHIFT + ->...
-1
votes
1
answer
2k
views
Starship [WARN] - (starship::utils): Executing command "/Users/username/.rbenv/shims/ruby" timed out
I am using Mac and just moved from OhMyZsh + p10k to starship as i love the promt and autocomplete also simple looks.
Then I completed removed OMZ + p10k and brew installed starship.
After ...
-4
votes
1
answer
273
views
How can I automate capture of output of last command in iTerm2?
iTerm2 has a feature that lets you right click on the output of a command and then select "Copy" to copy the entire output of the last command including the command itself to the clipboard. ...
0
votes
1
answer
486
views
Iterm2 / Oh-my-zsh / Powerlevel10k how to avoid highlight by click
Setting up local Mac environment, and noticed that after Iterm2 / Oh-my-zsh / Powerlevel10k installation, when I click on any area in the terminal, it will highlight the session and grey out other ...
0
votes
1
answer
306
views
Disable dimmed region on tab
In iTerm2, how do I disable dimming out the region of the same window/tab that's not in focus?
I've tried setting the Dimming option to 1 in Appearance > Dimming, but to no avail. Checked the docs ...
0
votes
1
answer
145
views
How does the iterm2 Python API determine which tab a script is running in?
I have a set of window tabs I use regularly, and when I start up iTerm2, I restore this using "Window->Restore Window Arrangement".
In .bashrc, I'd like to use the Iterm Python API to set ...