diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2026-01-23 16:18:40 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2026-01-24 13:29:44 +0000 |
| commit | 46db905e881306ce86d6a0c8b8407baaeb7acd0b (patch) | |
| tree | d37e91361e07c4c3ffa3debae44f09f91a3b221d | |
| parent | 6285067546ee45ed5b0f27f246aa323cb818fbbc (diff) | |
Stow starship
| -rw-r--r-- | bash/.bashrc | 2 | ||||
| -rw-r--r-- | starship/.config/starship.toml | 26 |
2 files changed, 28 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index f17265f..8864fcd 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -3,3 +3,5 @@ if [ -f ~/.bash_aliases ] ; then . ~/.bash_aliases fi + +eval "$(starship init bash)" diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml new file mode 100644 index 0000000..14c4ecf --- /dev/null +++ b/starship/.config/starship.toml @@ -0,0 +1,26 @@ +add_newline = false + +format = """($git_branch $git_status +)$directory$character""" + +[directory] +style = "bright-black" + +[git_branch] +symbol = " " +style = "bright-black" +format = "[$symbol$branch]($style)" + +[git_status] +style = "bright-black" +format = "([$all_status$ahead_behind]($style))" +conflicted = "[=](red)" +ahead = "[⇡](blue)" +behind = "[⇣](blue)" +diverged = "[⇕](magenta)" +untracked = "[?](blue)" +stashed = '[\$](white)' +modified = "[!](yellow)" +staged = "[+](green)" +renamed = "[»](cyan)" +deleted = "[✘](red)" |
