Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
bat \
# Pager for bat
less \
# Pager for git, diff, grep, and blame
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment describes git-delta as a "Pager for git, diff, grep, and blame", but git-delta is primarily a syntax-highlighting pager for git, not for grep and blame. It's used to enhance git diff, git show, git log, and similar git commands. Consider updating the comment to be more accurate, such as "Syntax-highlighting pager for git diff and log".

Suggested change
# Pager for git, diff, grep, and blame
# Syntax-highlighting pager for git diff and log

Copilot uses AI. Check for mistakes.
git-delta \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While git-delta is being installed, it's not configured to be used by git automatically. To make this feature useful out-of-the-box, you should configure it as the default pager for git.

You could add this configuration in a subsequent RUN command, for example, by appending it to the command on lines 112-116:

RUN ln -s /usr/bin/eza /usr/local/bin/ls \
    && ln -s /usr/bin/batcat /usr/local/bin/bat \
    && ln -s /usr/bin/fdfind /usr/local/bin/fd \
    && ln -s "$(dirname "$(dirname "$(readlink -f "$(which java)")")")" "${JAVA_HOME}" \
    && git config --global core.pager delta

This will ensure that users of the image benefit from git-delta without needing manual configuration.

# Fuzzy finder
fzf \
# Code counter
Expand Down