Roman Perepelitsa
Roman Perepelitsa
> The problem is that from time to time shell doesn't show the prompt. What does that look like?
Can you confirm that without terraform everything works but with terraform zsh hangs on start? If you try 3 times each, does it reproduce 100% of the time?
Nothing in particular. Just a clear cause and effect: when I do X, Y happens, 100%.
Thanks for the extra info. It looks like zsh hangs trying to resolve `${${TF_DATA_DIR:-.terraform}:A}/environment`. Could you confirm this? To do that, run the following command: ```zsh zsh -fc 'set -x;...
This is fascinating. Does the following command also hang? ```zsh zsh -fc 'cd && : ${${:-blah}:A}' ```
I don't think you need to perform any more tests. The previous test (https://github.com/romkatv/powerlevel10k/issues/2598#issuecomment-2002073262) indicates a very serious issue with your machine: `realpath(3)` hangs when you pass it `~/.terraform`.
If my diagnosis is correct, your machine has very serious issues. They aren't confined to terraform. Either the OS or the filesystem is malfunctioning.
I've misread https://github.com/romkatv/powerlevel10k/issues/2598#issuecomment-2003898102. Specifically, I've missed "not" in "It does not hang". Thus, my saying that you machine has a serious issue was false. In your last command you say...
Please post the same screenshot with your last oh-my-zsh theme. Which theme was it?
The best solution is to set the position and the height of your terminal window in such a way so that looking at the bottom is comfortable. Some terminals also...