From 3cc98a97839918bf6f49caa9364f88a23527c578 Mon Sep 17 00:00:00 2001 From: Raphael Jacobs Date: Sun, 2 Feb 2025 23:04:07 +0100 Subject: [PATCH] improve greeting message and list packages --- .config/fish/functions/fish_greeting.fish | 13 +++++++++++++ Dockerfile | 23 ++++++++++++----------- 2 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 .config/fish/functions/fish_greeting.fish diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish new file mode 100644 index 0000000..59790cc --- /dev/null +++ b/.config/fish/functions/fish_greeting.fish @@ -0,0 +1,13 @@ +function fish_greeting --description 'Welcome the user' + printf "%s" (set_color -o brblue) + date +"%A %H:%M, %d/%m/%y" + echo -e "\n" + printf "Welcome to alpine, deke/dev-env edition\n" + printf " Check out these tools:\n" + printf " %sDiagnostics: %s btop, tcpdump, dust, fd, rg%s\n" (set_color white) (set_color -i brblue) (set_color normal) + printf " %sCLI: %s zellij, helix, curl, wget, tar, zstd, jq%s\n" (set_color white) (set_color -i brblue) (set_color normal) + printf " %sSVN: %s git, jj, lazygit, lazyjj%s\n" (set_color white) (set_color -i brblue) (set_color normal) + printf " %sSVN: %s git, jj, lazygit, lazyjj%s\n" (set_color white) (set_color -i brblue) (set_color normal) + printf " %sK8S: %s k0s, kubectl\n" (set_color white) (set_color -i brblue) (set_color normal) + echo -e "\n" +end diff --git a/Dockerfile b/Dockerfile index 75ff565..3eaaf6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,25 +3,23 @@ FROM alpine:edge # Install base dependencies and build tools RUN apk add --no-cache \ - fish \ - helix \ - ripgrep \ - fd \ - dust \ btop \ - tmux \ + tcpdump \ + dust \ + fd \ + ripgrep \ + fish \ + zellij \ + helix \ + curl \ + wget \ tar \ zstd \ jq \ - tcpdump \ lazygit \ - most \ k9s \ - curl \ git -COPY setup_langs /root/setup_langs -COPY .config /root/.config RUN apk add --no-cache cargo bash; \ curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash; \ @@ -29,6 +27,9 @@ RUN apk add --no-cache cargo bash; \ cargo binstall lazyjj; \ apk del cargo bash; +COPY setup_langs /root/setup_langs +COPY .config /root/.config + ENV TERM="xterm-256color" ENV COLORTERM="truecolor"