-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.chezmoiexternal.toml.tmpl
33 lines (29 loc) · 1.11 KB
/
.chezmoiexternal.toml.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{ if ne .chezmoi.os "windows" }}
[".zsh/ni.zsh"]
type = "file"
url = "https://raw.githubusercontent.com/azu/ni.zsh/main/ni.zsh"
refreshPeriod = "24h"
[".local/bin/wsl2-ssh-agent"]
type = "file"
url = "https://github.com/mame/wsl2-ssh-agent/releases/latest/download/wsl2-ssh-agent"
refreshPeriod = "24h"
executable = true
[".local/bin/fzf"]
type = "file"
url = "https://github.com/junegunn/fzf/releases/download/{{ (gitHubLatestRelease "junegunn/fzf").TagName }}/fzf-{{ trimPrefix "v" (gitHubLatestRelease "junegunn/fzf").TagName }}-{{ .chezmoi.os }}_{{ .chezmoi.arch }}.tar.gz"
executable = true
refreshPeriod = "168h"
[".local/bin/fzf".filter]
command = "tar"
args = ["--extract", "--file", "/dev/stdin", "--gzip", "--to-stdout", "fzf"]
[".zsh/completions/_fzf"]
type = "archive"
url = "https://github.com/junegunn/fzf/archive/master.tar.gz"
refreshPeriod = "168h"
stripComponents = 2
include = ["*/shell/*.zsh"]
[".zsh/functions/fzf-tab-completion.zsh"]
type = "file"
url = "https://raw.githubusercontent.com/lincheney/fzf-tab-completion/master/zsh/fzf-zsh-completion.sh"
refreshPeriod = "168h"
{{ end }}