diff --git a/Dockerfile b/Dockerfile index fdaa158..a1d6dae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ ENV TZ=Europe/Berlin # Install additional system packages that REMnux doesn't include RUN apt-get update && apt-get install -y \ busybox \ + bat \ catdoc \ docx2txt \ fd-find \ @@ -17,6 +18,8 @@ RUN apt-get update && apt-get install -y \ pipx \ ripgrep \ unrtf \ + mpack \ + pandoc \ zsh \ zsh-autosuggestions \ zsh-syntax-highlighting \ diff --git a/Dockerfile.scratch b/Dockerfile.scratch index 45e16a1..6a39a67 100644 --- a/Dockerfile.scratch +++ b/Dockerfile.scratch @@ -31,6 +31,7 @@ ENV TZ=Europe/Berlin # Install additional system packages that REMnux doesn't include RUN apt-get update && apt-get install -y \ busybox \ + bat \ catdoc \ docx2txt \ fd-find \ @@ -40,10 +41,12 @@ RUN apt-get update && apt-get install -y \ pipx \ ripgrep \ unrtf \ + mpack \ + pandoc \ zsh \ zsh-autosuggestions \ zsh-syntax-highlighting \ - && rm -rf /var/lib/apt/lists/* + && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Configure pip ENV PYTHONDONTWRITEBYTECODE=1 diff --git a/files/zshrc b/files/zshrc index d808841..6765b01 100644 --- a/files/zshrc +++ b/files/zshrc @@ -100,11 +100,18 @@ alias egrep='egrep --color=auto' # Tool aliases alias fd='fdfind' +alias bat='batcat' # Ubuntu names it batcat alias rg='rg --color=auto' alias analyse='fhelp' -alias ?='fhelp' alias help='fhelp' +# Help alias (? needs special handling in zsh) +if [[ -n "$ZSH_VERSION" ]]; then + alias \?='fhelp' +else + alias '?'='fhelp' +fi + # Quick navigation alias ..='cd ..' alias ...='cd ../..'