update prompt/starship
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
df95d5bcb80fd7282aad2fb56607f0369f1851e0- Parents
-
1862308 - Tree
8a0d0f2
df95d5b
df95d5bcb80fd7282aad2fb56607f0369f1851e01862308
8a0d0f2| Status | File | + | - |
|---|---|---|---|
| M |
starship/starship.toml
|
14 | 31 |
starship/starship.tomlmodified@@ -1,36 +1,19 @@ | ||
| 1 | -add_newline = true | |
| 1 | +format = """ | |
| 2 | +$username$hostname :: $directory$all\ | |
| 3 | +$line_break\ | |
| 4 | +$character""" | |
| 2 | 5 | |
| 3 | -[character] | |
| 4 | -error_symbol = "[❯](bold red)" | |
| 5 | -success_symbol = "[❯](bold green)" | |
| 6 | +[username] | |
| 7 | +show_always = true | |
| 8 | +format = "[$user](bold blue)" | |
| 6 | 9 | |
| 7 | -[cmd_duration] | |
| 8 | -min_time = 2000 | |
| 9 | -style = "bold yellow" | |
| 10 | +[hostname] | |
| 11 | +ssh_only = false | |
| 12 | +format = "[@$hostname](bold blue)" | |
| 10 | 13 | |
| 11 | 14 | [directory] |
| 12 | -style = "bold cyan" | |
| 13 | -truncate_to_repo = true | |
| 14 | -truncation_length = 3 | |
| 15 | - | |
| 16 | -[git_branch] | |
| 17 | -style = "bold purple" | |
| 18 | -symbol = " " | |
| 19 | - | |
| 20 | -[git_status] | |
| 21 | -style = "bold red" | |
| 22 | - | |
| 23 | -[golang] | |
| 24 | -symbol = " " | |
| 15 | +format = "[$path](bold cyan)[$read_only](red) " | |
| 25 | 16 | |
| 26 | -[nix_shell] | |
| 27 | -symbol = " " | |
| 28 | - | |
| 29 | -[nodejs] | |
| 30 | -symbol = " " | |
| 31 | - | |
| 32 | -[python] | |
| 33 | -symbol = " " | |
| 34 | - | |
| 35 | -[rust] | |
| 36 | -symbol = " " | |
| 17 | +[character] | |
| 18 | +success_symbol = "[❯](bold green)" | |
| 19 | +error_symbol = "[❯](bold red)" | |