Make sure delta exists before acutally using it
This commit is contained in:
parent
9021efe3ac
commit
c768ee7ad2
2 changed files with 4 additions and 0 deletions
|
@ -157,6 +157,7 @@ scriptTempDir={{ $scriptTempDir | quote }}
|
|||
leader-key={{- $zellijLeaderKey | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{- if lookPath "delta" }}
|
||||
[diff]
|
||||
# command = "nvim"
|
||||
# args = ["-d", "{{ "{{ .Destination }}" }}", "{{ "{{ .Target }}" }}"]
|
||||
|
@ -164,5 +165,6 @@ scriptTempDir={{ $scriptTempDir | quote }}
|
|||
command = "delta"
|
||||
args = ["--paging=never", "{{ "{{ .Destination }}" }}", "{{ "{{ .Target }}" }}"]
|
||||
pager = "moar"
|
||||
{{- end -}}
|
||||
|
||||
# vim: set ft=toml expandtab tabstop=2 shiftwidth=2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue