initial commit
This commit is contained in:
commit
0396157ac5
|
@ -0,0 +1,9 @@
|
|||
Usage:
|
||||
|
||||
```shell
|
||||
# default config location is ~/.config/starship.toml
|
||||
export STARSHIP_CONFIG=~/.config/starship/starship.toml
|
||||
eval "$(starship init zsh)"
|
||||
```
|
||||
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
prompt_order = [
|
||||
"custom.separator",
|
||||
"line_break",
|
||||
"username",
|
||||
"hostname",
|
||||
"line_break",
|
||||
"directory",
|
||||
"git_branch",
|
||||
"git_commit",
|
||||
"git_state",
|
||||
"git_status",
|
||||
"line_break",
|
||||
"nodejs",
|
||||
"python",
|
||||
"php",
|
||||
"line_break",
|
||||
"jobs",
|
||||
"battery",
|
||||
"memory_usage",
|
||||
"character",
|
||||
]
|
||||
|
||||
[character]
|
||||
use_symbol_for_status = true
|
||||
style_success = "dimmed black"
|
||||
style_failure = "bold bright-red"
|
||||
|
||||
[directory]
|
||||
truncate_to_repo = false
|
||||
truncation_length = 12
|
||||
style = "white"
|
||||
|
||||
[python]
|
||||
symbol = "Python: "
|
||||
style = "dimmed black"
|
||||
|
||||
[php]
|
||||
symbol = "PHP: "
|
||||
style = "dimmed black"
|
||||
|
||||
[nodejs]
|
||||
symbol = "Node: "
|
||||
style = "dimmed black"
|
||||
|
||||
[memory_usage]
|
||||
disabled = false
|
||||
show_swap = false
|
||||
threshold = 0.66
|
||||
symbol = ""
|
||||
style = "bold bright-red"
|
||||
|
||||
[custom.separator]
|
||||
disabled = false
|
||||
command = 'date +"%H:%M:%S ――――――――――――――――――――――――――――――――"'
|
||||
when = "true"
|
||||
style = "dimmed black"
|
Loading…
Reference in New Issue