-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add git-delta diff pager #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
| git-delta \ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While You could add this configuration in a subsequent 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 deltaThis will ensure that users of the image benefit from |
||
| # Fuzzy finder | ||
| fzf \ | ||
| # Code counter | ||
|
|
||
There was a problem hiding this comment.
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".