Skip to content

Commit 631947a

Browse files
committed
Starship: Configure directory and hostname modules
1 parent f8251b0 commit 631947a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.config/starship.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ success_symbol = '[\$](bold 8)'
5151
[[battery.display]]
5252
threshold = 30
5353

54+
[directory]
55+
format='\[[$path]($style)[$read_only]($read_only_style)\]'
56+
repo_root_style='bold cyan underline'
57+
fish_style_pwd_dir_length=2
58+
5459
[git_branch]
5560
format = '\[[$branch]($style)\]'
5661

@@ -96,6 +101,9 @@ format = '\[[$symbol$context]($style)\]'
96101
[helm]
97102
format = '\[[$symbol($version)]($style)\]'
98103

104+
[hostname]
105+
format = '\[[$ssh_symbol$hostname]($style)\] '
106+
99107
[memory_usage]
100108
format = '\[$symbol[$ram( | $swap)]($style)\]'
101109

0 commit comments

Comments
 (0)