mirror of
https://github.com/CompeyDev/dotfiles.git
synced 2024-12-12 04:40:37 +00:00
feat: include new starship configs
This commit is contained in:
parent
a10ca822cb
commit
844b651437
1 changed files with 241 additions and 0 deletions
241
.config/starship.toml
Normal file
241
.config/starship.toml
Normal file
|
@ -0,0 +1,241 @@
|
|||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
command_timeout = 1000
|
||||
add_newline = true
|
||||
format = """
|
||||
$os$username$hostname:$directory$git_branch$git_status$git_commit$python$hg_branch\
|
||||
$pijul_channel\
|
||||
$docker_context\
|
||||
$package\
|
||||
$c\
|
||||
$cmake\
|
||||
$cobol\
|
||||
$daml\
|
||||
$dart\
|
||||
$deno\
|
||||
$dotnet\
|
||||
$elixir\
|
||||
$elm\
|
||||
$erlang\
|
||||
$fennel\
|
||||
$golang\
|
||||
$guix_shell\
|
||||
$haskell\
|
||||
$haxe\
|
||||
$helm\
|
||||
$java\
|
||||
$julia\
|
||||
$kotlin\
|
||||
$gradle\
|
||||
$lua\
|
||||
$nim\
|
||||
$nodejs\
|
||||
$ocaml\
|
||||
$opa\
|
||||
$perl\
|
||||
$php\
|
||||
$pulumi\
|
||||
$purescript\
|
||||
$python\
|
||||
$raku\
|
||||
$rlang\
|
||||
$red\
|
||||
$ruby\
|
||||
$rust\
|
||||
$scala\
|
||||
$solidity\
|
||||
$swift\
|
||||
$terraform\
|
||||
$typst\
|
||||
$vlang\
|
||||
$vagrant\
|
||||
$zig\
|
||||
$buf\
|
||||
$nix_shell\
|
||||
$conda\
|
||||
$meson\
|
||||
$cmd_duration
|
||||
$character
|
||||
"""
|
||||
|
||||
# Replace the "❯"
|
||||
[character]
|
||||
success_symbol = "[♥](bright-purple)"
|
||||
error_symbol = "[♥](red)"
|
||||
|
||||
[username]
|
||||
style_user = "purple bold"
|
||||
style_root = "white bold"
|
||||
format = "[$user]($style)"
|
||||
disabled = false
|
||||
show_always = true
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
format = "[@$hostname](green bold)"
|
||||
disabled = false
|
||||
ssh_symbol = " "
|
||||
|
||||
# truncation length works backwards (i.e., cwd > parent > parent ...)
|
||||
[directory]
|
||||
truncation_length = 15
|
||||
truncation_symbol = "…/"
|
||||
truncate_to_repo = true
|
||||
read_only = " "
|
||||
|
||||
[git_branch]
|
||||
truncation_length = 25
|
||||
truncation_symbol = ''
|
||||
symbol = " "
|
||||
|
||||
[git_status]
|
||||
ahead = '⇡${count}'
|
||||
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
||||
behind = '⇣${count}'
|
||||
staged = '[++\($count\)](green)'
|
||||
|
||||
[git_commit]
|
||||
commit_hash_length = 4
|
||||
|
||||
[env_var.SHELL]
|
||||
variable = "SHELL"
|
||||
default = "unknown shell"
|
||||
disabled = true
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 500
|
||||
format = 'took [$duration](bold yellow)'
|
||||
|
||||
# Show python version starting with venv
|
||||
[python]
|
||||
python_binary = ["./venv/bin/python", "python3", "python", "python2"]
|
||||
|
||||
[aws]
|
||||
symbol = " "
|
||||
|
||||
[buf]
|
||||
symbol = " "
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
|
||||
[conda]
|
||||
symbol = " "
|
||||
|
||||
[crystal]
|
||||
symbol = " "
|
||||
|
||||
[dart]
|
||||
symbol = " "
|
||||
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
|
||||
[fennel]
|
||||
symbol = " "
|
||||
|
||||
[fossil_branch]
|
||||
symbol = " "
|
||||
|
||||
[golang]
|
||||
symbol = " "
|
||||
|
||||
[guix_shell]
|
||||
symbol = " "
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
|
||||
[haxe]
|
||||
symbol = " "
|
||||
|
||||
[hg_branch]
|
||||
symbol = " "
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
|
||||
[kotlin]
|
||||
symbol = " "
|
||||
|
||||
[lua]
|
||||
symbol = " "
|
||||
detect_extensions=["lua", "luau"]
|
||||
lua_binary = "/home/compey/bin/lunev"
|
||||
# format = 'via [$symbol$version]($style)'
|
||||
|
||||
[memory_usage]
|
||||
symbol = " "
|
||||
|
||||
[meson]
|
||||
symbol = " "
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
|
||||
[nix_shell]
|
||||
symbol = " "
|
||||
|
||||
[nodejs]
|
||||
symbol = " "
|
||||
|
||||
[ocaml]
|
||||
symbol = " "
|
||||
|
||||
[rust]
|
||||
symbol = " "
|
||||
version_format = ""
|
||||
|
||||
[os.symbols]
|
||||
Alpaquita = " "
|
||||
Alpine = " "
|
||||
Amazon = " "
|
||||
Android = " "
|
||||
Arch = " "
|
||||
Artix = " "
|
||||
CentOS = " "
|
||||
Debian = " "
|
||||
DragonFly = " "
|
||||
Emscripten = " "
|
||||
EndeavourOS = " "
|
||||
Fedora = " "
|
||||
FreeBSD = " "
|
||||
Garuda = " "
|
||||
Gentoo = " "
|
||||
HardenedBSD = " "
|
||||
Illumos = " "
|
||||
Linux = " "
|
||||
Mabox = " "
|
||||
Macos = " "
|
||||
Manjaro = " "
|
||||
Mariner = " "
|
||||
MidnightBSD = " "
|
||||
Mint = " "
|
||||
NetBSD = " "
|
||||
NixOS = " "
|
||||
OpenBSD = " "
|
||||
openSUSE = " "
|
||||
OracleLinux = " "
|
||||
Pop = " "
|
||||
Raspbian = " "
|
||||
Redhat = " "
|
||||
RedHatEnterprise = " "
|
||||
Redox = " "
|
||||
Solus = " "
|
||||
SUSE = " "
|
||||
Ubuntu = " "
|
||||
Unknown = " "
|
||||
Windows = " "
|
||||
|
||||
[os]
|
||||
format = '[$symbol](bold white)'
|
||||
disabled = false
|
Loading…
Reference in a new issue