feat(pp): update delta diff
This commit is contained in:
parent
841e8f99bb
commit
d1fe1f3c87
2 changed files with 4 additions and 3 deletions
|
|
@ -4,16 +4,16 @@
|
||||||
class core::delta {
|
class core::delta {
|
||||||
archive { 'delta':
|
archive { 'delta':
|
||||||
path => '/tmp/delta.tar.gz',
|
path => '/tmp/delta.tar.gz',
|
||||||
source => 'https://github.com/dandavison/delta/releases/download/0.13.0/delta-0.13.0-x86_64-unknown-linux-gnu.tar.gz',
|
source => 'https://github.com/dandavison/delta/releases/download/0.15.1/delta-0.15.1-x86_64-unknown-linux-gnu.tar.gz',
|
||||||
extract => true,
|
extract => true,
|
||||||
extract_path => "/tmp",
|
extract_path => "/tmp",
|
||||||
checksum_type => 'sha256',
|
checksum_type => 'sha256',
|
||||||
checksum => '69ddecc92e86b77016692589c094bf3a32e7cb8a0dfd9f97f253c173cce830e9',
|
checksum => '9d9b42a7b9ea554b4bf123f245d5f2014478ac87ddc508744a3f34f5c2d512c7',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { 'delta':
|
file { 'delta':
|
||||||
path => "${user_home}/.local/bin/delta",
|
path => "${user_home}/.local/bin/delta",
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
source => "/tmp/delta-0.13.0-x86_64-unknown-linux-gnu/delta"
|
source => "/tmp/delta-0.15.1-x86_64-unknown-linux-gnu/delta"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@
|
||||||
diffFilter = delta --color-only
|
diffFilter = delta --color-only
|
||||||
|
|
||||||
[delta]
|
[delta]
|
||||||
|
light = false
|
||||||
line-numbers = true
|
line-numbers = true
|
||||||
navigate = true
|
navigate = true
|
||||||
hunk-header-style = raw
|
hunk-header-style = raw
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue