feat: use starship instead of some default omz theme

Changed files
+180 -1
global
+5 -1
global/programs/shells.nix
···
ohMyZsh = {
enable = true;
-
theme = "crcandy";
plugins = [
"git"
];
};
+
};
+
+
programs.starship = {
+
enable = true;
+
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
};
}
+175
global/programs/starship.toml
···
+
# Get editor completions based on the config schema
+
"$schema" = 'https://starship.rs/config-schema.json'
+
+
# Inserts a blank line between shell prompts
+
add_newline = true
+
+
# Replace the '❯' symbol in the prompt with '➜'
+
[character] # The name of the module we are configuring is 'character'
+
success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green'
+
error_symbol = '[➜](bold red)'
+
+
[username]
+
show_always = true
+
+
[status]
+
disabled = false
+
format = '[$symbol $status]($style) '
+
symbol = '✗'
+
map_symbol = true
+
pipestatus = true
+
+
sigint_symbol = '^C'
+
not_found_symbol = '?'
+
signal_symbol = 'SIG'
+
+
[[battery.display]]
+
threshold = 100
+
style = "bold green"
+
+
[time]
+
disabled = false
+
+
[cmd_duration]
+
min_time = 0
+
+
[aws]
+
symbol = " "
+
+
[buf]
+
symbol = " "
+
+
[c]
+
symbol = " "
+
+
[conda]
+
symbol = " "
+
+
[dart]
+
symbol = " "
+
+
[directory]
+
read_only = " 󰌾"
+
+
[docker_context]
+
symbol = " "
+
+
[elixir]
+
symbol = " "
+
+
[elm]
+
symbol = " "
+
+
[fossil_branch]
+
symbol = " "
+
+
[git_branch]
+
symbol = " "
+
+
[golang]
+
symbol = " "
+
+
[guix_shell]
+
symbol = " "
+
+
[haskell]
+
symbol = " "
+
+
[haxe]
+
symbol = "⌘ "
+
+
[hg_branch]
+
symbol = " "
+
+
[hostname]
+
ssh_symbol = " "
+
ssh_only = false
+
+
[java]
+
symbol = " "
+
+
[julia]
+
symbol = " "
+
+
[lua]
+
symbol = " "
+
+
[memory_usage]
+
symbol = "󰍛 "
+
+
[meson]
+
symbol = "󰔷 "
+
+
[nim]
+
symbol = "󰆥 "
+
+
[nix_shell]
+
symbol = " "
+
+
[nodejs]
+
symbol = " "
+
+
[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 = "󰍲 "
+
+
[package]
+
symbol = "󰏗 "
+
+
[pijul_channel]
+
symbol = "🪺 "
+
+
[python]
+
symbol = " "
+
+
[rlang]
+
symbol = "󰟔 "
+
+
[ruby]
+
symbol = " "
+
+
[rust]
+
symbol = " "
+
+
[scala]
+
symbol = " "
+
+
[spack]
+
symbol = "🅢 "