From 50d4c8a63ffa5eb02e9a856f0ce08b8195ac4adc Mon Sep 17 00:00:00 2001 From: Sneexy Date: Thu, 4 Apr 2024 14:24:20 -0500 Subject: [PATCH] chore: remove starship, its too much to just force a shell --- toolboxes/fedora-toolbox/Containerfile.fedora | 8 +-- .../fedora-toolbox/files/etc/starship.toml | 61 ------------------- 2 files changed, 2 insertions(+), 67 deletions(-) delete mode 100644 toolboxes/fedora-toolbox/files/etc/starship.toml diff --git a/toolboxes/fedora-toolbox/Containerfile.fedora b/toolboxes/fedora-toolbox/Containerfile.fedora index 483534a..96c8350 100644 --- a/toolboxes/fedora-toolbox/Containerfile.fedora +++ b/toolboxes/fedora-toolbox/Containerfile.fedora @@ -1,9 +1,7 @@ FROM ghcr.io/ublue-os/fedora-distrobox:latest -# Adds repository for starship prompt & # Install decent selection of Modern Unix utilities, then random useful utilities -RUN dnf -y copr enable atim/starship && \ - dnf -y upgrade && \ +RUN dnf -y upgrade && \ dnf -y install \ bat \ duf \ @@ -14,15 +12,13 @@ RUN dnf -y copr enable atim/starship && \ neovim \ ripgrep \ sd \ - starship \ p7zip \ unrar-free \ zoxide \ + zsh \ yt-dlp && \ dnf clean all -COPY ./toolboxes/fedora-toolbox/files / - RUN ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/git && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/docker && \ ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/flatpak && \ diff --git a/toolboxes/fedora-toolbox/files/etc/starship.toml b/toolboxes/fedora-toolbox/files/etc/starship.toml deleted file mode 100644 index 932a08a..0000000 --- a/toolboxes/fedora-toolbox/files/etc/starship.toml +++ /dev/null @@ -1,61 +0,0 @@ -# Get editor completions based on the config schema -"$schema" = 'https://starship.rs/config-schema.json' - -# left side of the prompt -format = "$container$directory$character" - -# right side of the prompt -right_format = "$git_status$git_branch$memory_usage$cmd_duration$sudo" - -# adds a newline whenever a command is completed -add_newline = true - -[character] -success_symbol = "[ ](#a6e3a1)" -error_symbol = "[ ](#f38ba8)" -vicmd_symbol = "[ ](#f9e2af)" - -[container] -format = "[]($style)(bg:#89dceb fg:#11111b)[󰆧 ](bg:#89dceb fg:#11111b bold)[ ]($style)" -style = "bg:none fg:#89dceb" -disabled = false - -[directory] -format = "[]($style)[󰉋 ](bg:#11111b fg:#89b4fa)[$path](bg:#11111b fg:#74c7ec bold)[ ]($style)" -style = "bg:none fg:#11111b" - -[git_branch] -format = "[]($style)[[ ](bg:#11111b fg:#f5c2e7)$branch](bg:#11111b fg:#f5e0dc)[ ]($style)" -style = "bg:none fg:#11111b" - -[git_status] -format = "[]($style)[[ ](bg:#11111b fg:#cba6f7)$branch](bg:#11111b fg:#f2cdcd)[ ]($style)" -style = "bg:none fg:#11111b" -conflicted = "=" -ahead = "󰁝${count}" -behind = "󰁅${count}" -diverged = "󰹹󰁝${ahead_count}⇣${behind_count}" -up_to_date = "󰄬" -untracked = "?${count}" -stashed = "" -modified = "!${count}" -staged = "+${count}" -renamed = "»${count}" -deleted = "${count}" - -[cmd_duration] -min_time = 30000 -format = "[]($style)[[ ](bg:#11111b fg:#fab387)$duration](bg:#11111b fg:#fab387)[ ]($style)" -style = "bg:none fg:#11111b" - - -[memory_usage] -disabled = false -threshold = 55 -format = "[]($style)[[󰍛 ](bg:#11111b fg:#f2cdcd)$ram](bg:#11111b fg:#f2cdcd)[ ]($style)" -style = "bg:none fg:#11111b" - -[sudo] -format = "[]($style)[[ 󰌾 ](bg:#11111b fg:#f9e2af)](bg:#11111b fg:#f9e2af)[]($style)" -style = "bg:none fg:#11111b" -disabled = false