From db83134e6b46f189a4bf002637363fe4cd501c7a Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Sat, 18 Jan 2025 17:45:17 +0200 Subject: [PATCH] feat(prompt): change shell prompt --- home-manager/stvnliu/shells/starship/presets/pure-direnv.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-manager/stvnliu/shells/starship/presets/pure-direnv.toml b/home-manager/stvnliu/shells/starship/presets/pure-direnv.toml index 44e49d0..3886289 100644 --- a/home-manager/stvnliu/shells/starship/presets/pure-direnv.toml +++ b/home-manager/stvnliu/shells/starship/presets/pure-direnv.toml @@ -18,6 +18,10 @@ detect_files = ['.envrc'] # can specify filters but wildcards are not supported [directory] style = "blue" +truncate_to_repo = false +truncation_length = 8 +truncation_symbol = ".../" + [character] success_symbol = "[❯](purple)"