feat(starship): add starship cross-shell prompt
This commit is contained in:
@@ -42,6 +42,9 @@ That’s it! we have successfully created a symlink for `.gitconfig` ,and a syml
|
|||||||
### tmux
|
### tmux
|
||||||
`stow --dotfiles -vSt ~ tmux`
|
`stow --dotfiles -vSt ~ tmux`
|
||||||
|
|
||||||
|
### starship
|
||||||
|
`stow --dotfiles -vSt ~/.config starship`
|
||||||
|
|
||||||
|
|
||||||
## About me
|
## About me
|
||||||
|
|
||||||
|
|||||||
41
starship/starship.toml
Normal file
41
starship/starship.toml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
[battery]
|
||||||
|
disabled = true
|
||||||
|
|
||||||
|
[[battery.display]] # "bold red" style and discharging_symbol when capacity is between 0% and 10%
|
||||||
|
threshold = 20
|
||||||
|
style = "bold red"
|
||||||
|
discharging_symbol = " "
|
||||||
|
|
||||||
|
[[battery.display]] # "bold yellow" style and 💦 symbol when capacity is between 10% and 30%
|
||||||
|
threshold = 30
|
||||||
|
style = "bold yellow"
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
fish_style_pwd_dir_length = 1
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
ssh_only = true
|
||||||
|
format = "on [$hostname](bold red) "
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[shell]
|
||||||
|
fish_indicator = ""
|
||||||
|
powershell_indicator = "_"
|
||||||
|
unknown_indicator = "mystery shell"
|
||||||
|
style = "cyan bold"
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[status]
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[time]
|
||||||
|
style = "gray bold"
|
||||||
|
disabled = true
|
||||||
|
|
||||||
|
[username]
|
||||||
|
style_user = "white bold"
|
||||||
|
style_root = "red bold"
|
||||||
|
disabled = false
|
||||||
|
show_always = true
|
||||||
|
|
||||||
Reference in New Issue
Block a user