When I try to navigate directories using the cd command, it takes way too a long time. And terminal suggests creating a config file to increase the timeout. Once my terminal hanged, I mean when I tried to execute the command, the cursor kept blinking but nothing was happening and even ctrl+c had no effect I had to reboot. But the slow terminal still persists. I have observed that this delay problem occurs only for the cd command.
~ on ☁️ (us-east-2)
❯ cd Cloud/
[WARN] - (starship::utils): Executing command "/usr/bin/git" timed out.
[WARN] - (starship::utils): You can set command_timeout in your config to a higher value to allow longer-running commands to keep executing.
Cloud on main on ☁️ (us-east-2)
❯
PS1and/orprompt_commandin your.bash_profileor.bashrc(or any files included by those) and include in your question. – tripleee Mar 21 '22 at 05:31git(though please don't post pictures of text). – tripleee Mar 21 '22 at 05:32Clouddirectory causesgitto take a long time. Have you checked out a remote repository which is no longer accessible into that directory? – tripleee Mar 21 '22 at 05:34