Add starship

Note that I initially didn't use starship since I didn't like how it
used multiple lines, although it's fairly easy to configure to your
liking.
This commit is contained in:
Donovan Glover 2021-07-07 10:21:20 -04:00
parent ed53f56c0d
commit 8b8788b835
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 41 additions and 0 deletions

View File

@ -91,3 +91,5 @@ if not set -q set_abbr
abbr nano "vim" # The explanation is in the name
abbr emacs "vim" # No need to start another operating system
end
starship init fish | source

View File

@ -0,0 +1,24 @@
add_newline = false
[directory]
style = "purple"
[git_branch]
style = "yellow"
symbol = ""
[git_status]
disabled = true
[character]
success_symbol = "[➤](red)[➤](green)[➤](blue)"
error_symbol = "[➤](cyan)[➤](purple)[➤](yellow)"
[line_break]
disabled = true
[nodejs]
format = "with [$symbol($version )]($style)"
symbol = "node "
version_format = "${major}"
disabled = true

15
starship/README.md Normal file
View File

@ -0,0 +1,15 @@
# starship
[starship][starship] is a customizable prompt for any shell.
## Use Cases
starship can be used to:
- Have a prompt that shows relevant information in any situation, with 0 configuration
You should not use starship if:
- You should use starship.
[starship]: https://github.com/starship/starship