From 8a86a2992f01cfd34ab1c5b000d27f125429b094 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 30 Sep 2023 14:54:08 +0200 Subject: [PATCH] chore: add starship command timeout for responsive promts in huge git projects like nixpkgs --- users/modules/config/shell/starship.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/users/modules/config/shell/starship.nix b/users/modules/config/shell/starship.nix index a7c4071..a6f5192 100644 --- a/users/modules/config/shell/starship.nix +++ b/users/modules/config/shell/starship.nix @@ -43,6 +43,7 @@ "($rust )" "$time" ]; + command_timeout = 60; # 60ms must be enough. I like a responsive prompt more than additional git information. username = { format = "[$user]($style) "; show_if_root = false;