starship: cd command timed out

Sometimes I cd into a dir and get the timed out warning

cd code/wine
[WARN] - (starship::utils): Executing command "code" 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.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

I’m also seeing this, but only when a shell session first starts up after I updated to Mac OS Big Sur.

[WARN] - (starship::utils): Executing command "node" 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.

gardnerc@por-gardner-m in ~ 🤖 
❯ starship --version                                                                                                                                                                                    13GiB/16GiB | 168MiB/1024MiB | 🔋95%  | 05:53:12
starship 0.58.0
branch:
commit_hash:
build_time:2021-09-21 13:38:04 +00:00
build_env:rustc 1.55.0,

I have reopened this but I think what you are seeing is potentially a separate issue (the way we get the version of R is slow) rather than a problem with the cd command timing out.

I’m seeing it consistently.