2024-12-06

starship でコマンド実行が遅いという警告が出た時

[WARN] - (starship::utils): Executing command "/Users/noriyo_tcp/.rbenv/shims/ruby" 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.
starship config command_timeout 1000

これで ~/.config/starship.toml の先頭に command_timeout 1000 が書き込まれる。デフォルトは 500ms らしい

設定 | Starship