Fix zsh alias error and sync packages across Dockerfiles

Fixed zsh configuration:
- Fixed '?' alias that was causing 'no matches found' error in zsh
- Added proper bat alias (bat → batcat on Ubuntu)
- Added conditional alias handling for different shells

Synchronized packages across Dockerfiles:
- Added bat, mpack, pandoc to Dockerfile.scratch
- Enhanced package cleanup in Dockerfile.scratch
- Both Dockerfiles now have identical package lists

New packages available:
- bat (as batcat) - syntax-highlighted cat alternative
- mpack - MIME email utilities
- pandoc - document converter

All shells (bash, zsh, fish) now work without errors!
This commit is contained in:
Tobias Kessels
2025-10-01 15:24:46 +02:00
parent f72e194300
commit 6e1c77813c
3 changed files with 15 additions and 2 deletions

View File

@@ -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