textproc/delta 0.20.1 OpenBSD
viewer for git and diff output
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Laurent Cheylus <[email protected]>
- Last update
- Commit
3057c20510- Categories
- textproc, lang/rust
Description
Code evolves, and we all spend time studying diffs. Delta aims to make this both efficient and enjoyable: it allows you to make extensive changes to the layout and styling of diffs, as well as allowing you to stay arbitrarily close to the default git/diff output.
Delta's main features are:
* Language syntax highlighting with color themes * Within-line highlights based on a Levenshtein edit inference algorithm * Git style strings (foreground color, background color, font attributes) are supported for >20 stylable elements * Side-by-side view * Line numbering * diff-highlight and diff-so-fancy emulation modes * Stylable box/line decorations to draw attention to commit, file and hunk header sections. * Support for Git's --color-moved feature. * Code can be copied directly from the diff (-/+ markers are removed by default).
User manual: https://dandavison.github.io/delta
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/delta | 0.20.1 |
| FreeBSD | devel/delta | 2020.06.22 |
| NetBSD | devel/delta | 2006.08.03nb11 |
| DragonFly | devel/delta | 2020.06.22 |
Install
Binary package:
pkg_add delta
From the ports tree:
cd /usr/ports/textproc/delta && make install
Dependencies
Build dependencies 2
Run dependencies 2
No port depends on this one.