mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-23 19:21:40 +02:00
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:
parent
ed53f56c0d
commit
8b8788b835
@ -91,3 +91,5 @@ if not set -q set_abbr
|
|||||||
abbr nano "vim" # The explanation is in the name
|
abbr nano "vim" # The explanation is in the name
|
||||||
abbr emacs "vim" # No need to start another operating system
|
abbr emacs "vim" # No need to start another operating system
|
||||||
end
|
end
|
||||||
|
|
||||||
|
starship init fish | source
|
||||||
|
24
starship/.config/starship.toml
Normal file
24
starship/.config/starship.toml
Normal 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
15
starship/README.md
Normal 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
|
Loading…
x
Reference in New Issue
Block a user