initial commit

This commit is contained in:
Ray Elliott 2020-08-01 10:40:26 +01:00
commit 0396157ac5
2 changed files with 65 additions and 0 deletions

9
README.md Normal file
View File

@ -0,0 +1,9 @@
Usage:
```shell
# default config location is ~/.config/starship.toml
export STARSHIP_CONFIG=~/.config/starship/starship.toml
eval "$(starship init zsh)"
```

56
starship.toml Normal file
View File

@ -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"