diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-01-18 17:45:17 +0200 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-01-18 17:45:17 +0200 |
commit | db83134e6b46f189a4bf002637363fe4cd501c7a (patch) | |
tree | 96b0729ca61a0122a7b2ce88c358f6b2606bbdad | |
parent | 23871a3c7327dfb0664a1d6e8ed1869e9a2f89f4 (diff) | |
download | nixos-configuration-db83134e6b46f189a4bf002637363fe4cd501c7a.tar.gz nixos-configuration-db83134e6b46f189a4bf002637363fe4cd501c7a.tar.bz2 nixos-configuration-db83134e6b46f189a4bf002637363fe4cd501c7a.zip |
feat(prompt): change shell prompt
-rw-r--r-- | home-manager/stvnliu/shells/starship/presets/pure-direnv.toml | 4 |
1 files changed, 4 insertions, 0 deletions
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)" |