From 5ddc43a61b3f6605b517e875e8735b8a7f3f843a Mon Sep 17 00:00:00 2001 From: The_miro Date: Wed, 2 Apr 2025 00:19:53 +0200 Subject: [PATCH] properly integrated distrobox --- .zshrc | 10 ++++ starship.toml | 137 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 146 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 8b386c2..28e7cc6 100755 --- a/.zshrc +++ b/.zshrc @@ -184,7 +184,17 @@ alias treegrep="tree -fi | grep" alias tg="treegrep" alias v="nvim" +alias dbe="distrobox enter" +function dbc() +{ + distrobox create --image "${1}:latest" --name $2 +} +function dbt() +{ + distrobox create --image "${1}:latest" --name $1 + distrobox enter $1 +} function y() { local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd yazi "$@" --cwd-file="$tmp" diff --git a/starship.toml b/starship.toml index 53aa868..3d42a1f 100644 --- a/starship.toml +++ b/starship.toml @@ -18,7 +18,7 @@ disabled = false # represents the current operating system [os] style = "bg:#f50505" -disabled = true # Disabled by default +disabled = false # Disabled by default [directory] @@ -124,3 +124,138 @@ disabled = false time_format = "%R" # Hour:Minute Format style = "bg:#5018dd" format = "[  $time ]($style)" + + + +[aws] +symbol = " " + +[buf] +symbol = " " + +[cmake] +symbol = " " + +[conda] +symbol = " " + +[crystal] +symbol = " " + +[dart] +symbol = " " +[fennel] +symbol = " " + +[fossil_branch] +symbol = " " +[git_commit] +tag_symbol = '  ' + +[guix_shell] +symbol = " " + +[haxe] +symbol = " " + +[hg_branch] +symbol = " " + +[hostname] +ssh_symbol = " " + + +[kotlin] +symbol = " " + +[lua] +symbol = " " + +[memory_usage] +symbol = "󰍛 " + +[meson] +symbol = "󰔷 " + + +[nix_shell] +symbol = " " + +[ocaml] +symbol = " " + +[os.symbols] +Alpaquita = " " +Alpine = " " +AlmaLinux = " " +Amazon = " " +Android = " " +Arch = " " +Artix = " " +CachyOS = " " +CentOS = " " +Debian = " " +DragonFly = " " +Emscripten = " " +EndeavourOS = " " +Fedora = " " +FreeBSD = " " +Garuda = "󰛓 " +Gentoo = " " +HardenedBSD = "󰞌 " +Illumos = "󰈸 " +Kali = " " +Linux = " " +Mabox = " " +Macos = " " +Manjaro = " " +Mariner = " " +MidnightBSD = " " +Mint = " " +NetBSD = " " +NixOS = " " +Nobara = " " +OpenBSD = "󰈺 " +openSUSE = " " +OracleLinux = "󰌷 " +Pop = " " +Raspbian = " " +Redhat = " " +RedHatEnterprise = " " +RockyLinux = " " +Redox = "󰀘 " +Solus = "󰠳 " +SUSE = " " +Ubuntu = " " +Unknown = " " +Void = " " +Windows = "󰍲 " + +[package] +symbol = "󰏗 " + +[perl] +symbol = " " + +[php] +symbol = " " + +[pijul_channel] +symbol = " " + +[python] +symbol = " " + +[rlang] +symbol = "󰟔 " + +[ruby] +symbol = " " + +[swift] +symbol = " " + +[zig] +symbol = " " + +