From a674e6bbb5121185c4b5dd5c5b52d152a222ca16 Mon Sep 17 00:00:00 2001 From: Ariel Barreiro Date: Mon, 25 Mar 2024 14:38:06 -0300 Subject: [PATCH] README, gum and .bashrc.d/ .sh extension --- .ddev/addon-metadata/pimp-my-shell/manifest.yaml | 4 ++-- .../.bashrc.d/{pimp-my-shell => pimp-my-shell.sh} | 0 .ddev/web-build/Dockerfile.pimp-my-shell | 1 + README.md | 11 +++++++++++ .../.bashrc.d/{pimp-my-shell => pimp-my-shell.sh} | 0 install.yaml | 2 +- web-build/Dockerfile.pimp-my-shell | 1 + 7 files changed, 16 insertions(+), 3 deletions(-) rename .ddev/homeadditions/.bashrc.d/{pimp-my-shell => pimp-my-shell.sh} (100%) rename homeadditions/.bashrc.d/{pimp-my-shell => pimp-my-shell.sh} (100%) diff --git a/.ddev/addon-metadata/pimp-my-shell/manifest.yaml b/.ddev/addon-metadata/pimp-my-shell/manifest.yaml index 0108b99..68b4137 100644 --- a/.ddev/addon-metadata/pimp-my-shell/manifest.yaml +++ b/.ddev/addon-metadata/pimp-my-shell/manifest.yaml @@ -1,10 +1,10 @@ name: pimp-my-shell repository: . version: "" -install_date: "2024-03-25T12:43:17-03:00" +install_date: "2024-03-25T14:30:43-03:00" project_files: - web-build/Dockerfile.pimp-my-shell - - homeadditions/.bashrc.d/pimp-my-shell + - homeadditions/.bashrc.d/pimp-my-shell.sh - config.pimp-my-shell.yaml - commands/web/ahoy - homeadditions/.local/share/bash-completion/completions/ahoy diff --git a/.ddev/homeadditions/.bashrc.d/pimp-my-shell b/.ddev/homeadditions/.bashrc.d/pimp-my-shell.sh similarity index 100% rename from .ddev/homeadditions/.bashrc.d/pimp-my-shell rename to .ddev/homeadditions/.bashrc.d/pimp-my-shell.sh diff --git a/.ddev/web-build/Dockerfile.pimp-my-shell b/.ddev/web-build/Dockerfile.pimp-my-shell index 04696ae..c008e9d 100644 --- a/.ddev/web-build/Dockerfile.pimp-my-shell +++ b/.ddev/web-build/Dockerfile.pimp-my-shell @@ -5,3 +5,4 @@ RUN mkdir -p /opt/fzf-git.sh && cd /opt/fzf-git.sh && git init && git remote add RUN wget -q https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_`dpkg --print-architecture`.deb -O bat.deb && dpkg -i bat.deb && rm bat.deb RUN mkdir -p /opt/z.lua && wget https://github.com/skywind3000/z.lua/archive/refs/tags/1.8.18.zip -qO- | bsdtar xf - --strip-components=1 -C /opt/z.lua RUN curl -sS https://starship.rs/install.sh | sh -s -- -y -v v1.18.1 +RUN wget -q https://github.com/charmbracelet/gum/releases/download/v0.13.0/gum_0.13.0_`dpkg --print-architecture`.deb -O gum.deb && dpkg -i gum.deb && rm gum.deb diff --git a/README.md b/README.md index 9379439..6272a08 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,15 @@ ## What is ddev-pimp-my-shell? +This a an addon that adds several nice command line utitlites I use across all +projects, making it easier/nicer to work inside the container with some initial +defaults. + +- https://github.com/ahoy-cli/ahoy +- https://github.com/skywind3000/z.lua +- https://github.com/junegunn/fzf +- https://github.com/junegunn/fzf-git.sh +- https://starship.rs/ +- https://github.com/charmbracelet/gum + **Contributed and maintained by [@hanoii](https://github.com/hanoii)** diff --git a/homeadditions/.bashrc.d/pimp-my-shell b/homeadditions/.bashrc.d/pimp-my-shell.sh similarity index 100% rename from homeadditions/.bashrc.d/pimp-my-shell rename to homeadditions/.bashrc.d/pimp-my-shell.sh diff --git a/install.yaml b/install.yaml index 2bdc2ad..2161c50 100644 --- a/install.yaml +++ b/install.yaml @@ -1,7 +1,7 @@ name: pimp-my-shell project_files: - web-build/Dockerfile.pimp-my-shell - - homeadditions/.bashrc.d/pimp-my-shell + - homeadditions/.bashrc.d/pimp-my-shell.sh - config.pimp-my-shell.yaml - commands/web/ahoy - homeadditions/.local/share/bash-completion/completions/ahoy diff --git a/web-build/Dockerfile.pimp-my-shell b/web-build/Dockerfile.pimp-my-shell index 04696ae..c008e9d 100644 --- a/web-build/Dockerfile.pimp-my-shell +++ b/web-build/Dockerfile.pimp-my-shell @@ -5,3 +5,4 @@ RUN mkdir -p /opt/fzf-git.sh && cd /opt/fzf-git.sh && git init && git remote add RUN wget -q https://github.com/sharkdp/bat/releases/download/v0.24.0/bat_0.24.0_`dpkg --print-architecture`.deb -O bat.deb && dpkg -i bat.deb && rm bat.deb RUN mkdir -p /opt/z.lua && wget https://github.com/skywind3000/z.lua/archive/refs/tags/1.8.18.zip -qO- | bsdtar xf - --strip-components=1 -C /opt/z.lua RUN curl -sS https://starship.rs/install.sh | sh -s -- -y -v v1.18.1 +RUN wget -q https://github.com/charmbracelet/gum/releases/download/v0.13.0/gum_0.13.0_`dpkg --print-architecture`.deb -O gum.deb && dpkg -i gum.deb && rm gum.deb