Files

121 lines
2.2 KiB
TOML
Raw Permalink Normal View History

2024-06-07 18:19:14 +05:30
"$schema" = 'https://starship.rs/config-schema.json'
2024-07-17 23:56:15 +05:30
add_newline = false
format = """$status$cmd_duration
<$username$hostname$custom> | $directory$git_branch $git_status$git_state
$time $character"""
2024-06-07 18:19:14 +05:30
[character]
2024-07-17 23:56:15 +05:30
success_symbol = '>'
error_symbol = '>'
2024-06-07 18:19:14 +05:30
[git_commit]
tag_symbol = " tag "
[git_status]
ahead = ">"
behind = "<"
diverged = "<>"
renamed = "r"
deleted = "x"
2024-07-17 23:56:15 +05:30
[cmd_duration]
format = "ran for [$duration]($style)"
style = "italic yellow"
2024-06-07 18:19:14 +05:30
[custom.toolbox]
when = """ test -f /run/.containerenv && test -f /run/.toolboxenv """
description = "Config for toolbox"
style = "red"
command = """ cat /run/.containerenv | sed -n '2 p' | awk -F '"' 'NF>2{print $2}' """
2024-07-17 23:56:15 +05:30
format = ':[$output]($style)'
2024-06-07 18:19:14 +05:30
[directory]
read_only = " ro"
[fill]
symbol = ' '
[git_branch]
2024-07-17 23:56:15 +05:30
format = "on [$branch(:$remote_branch)]($style)"
2024-06-07 18:19:14 +05:30
[hg_branch]
symbol = "hg "
2024-07-17 23:56:15 +05:30
[hostname]
ssh_only = false
ssh_symbol = "ssh:"
format = "@[$ssh_symbol$hostname]($style)"
2024-06-07 18:19:14 +05:30
[memory_usage]
symbol = "memory "
[os.symbols]
Alpine = "alp "
Amazon = "amz "
Android = "andr "
Arch = "rch "
CentOS = "cent "
Debian = "deb "
DragonFly = "dfbsd "
Emscripten = "emsc "
EndeavourOS = "ndev "
Fedora = "fed "
FreeBSD = "fbsd "
Garuda = "garu "
Gentoo = "gent "
HardenedBSD = "hbsd "
Illumos = "lum "
Linux = "lnx "
Macos = "mac "
Manjaro = "mjo "
Mariner = "mrn "
MidnightBSD = "mid "
Mint = "mint "
NetBSD = "nbsd "
NixOS = "nix "
OpenBSD = "obsd "
openSUSE = "osuse "
OracleLinux = "orac "
Pop = "pop "
Raspbian = "rasp "
Redhat = "rhl "
RedHatEnterprise = "rhel "
Redox = "redox "
Solus = "sol "
SUSE = "suse "
Ubuntu = "ubnt "
Unknown = "unk "
Windows = "win "
[sudo]
symbol = "#"
disabled = true
format = "[$symbol]($style)"
style = ''
[status]
symbol = '[](bold red)'
2024-07-17 23:56:15 +05:30
success_symbol = ''
format = '[\[$symbol$maybe_int\]]($style) '
2024-06-07 18:19:14 +05:30
not_executable_symbol = "[!EXE](red)"
style = 'purple'
not_found_symbol = "[!FOUND](red)"
sigint_symbol = "[SIGINT](red)"
signal_symbol = "[SIG](red)"
map_symbol = true
pipestatus = true
2024-07-17 23:56:15 +05:30
pipestatus_format = '$pipestatus=> [\[$common_meaning$signal_name$maybe_int\]]($style) '
2024-06-07 18:19:14 +05:30
disabled = false
[time]
disabled = false
2024-07-17 23:56:15 +05:30
format = '\[[$time]($style)\]'
2024-06-07 18:19:14 +05:30
2024-07-17 23:56:15 +05:30
[username]
show_always = true
format = "[$user]($style)"
2024-06-07 18:19:14 +05:30