diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-12 19:27:30 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2026-08-12 19:27:30 +0200 |
| commit | 58f7632fd838ba3a8d8590baa10128c2db44c9ad (patch) | |
| tree | fac3169da62fc0987a2564b0b73c6b4fb6320b52 /home/dot_local/share/bin/executable_copy.tmpl | |
| parent | 5533e947bbba56e1214b148b481dc214f401f09e (diff) | |
mac updates
Diffstat (limited to 'home/dot_local/share/bin/executable_copy.tmpl')
| -rwxr-xr-x | home/dot_local/share/bin/executable_copy.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/home/dot_local/share/bin/executable_copy.tmpl b/home/dot_local/share/bin/executable_copy.tmpl new file mode 100755 index 0000000..dde46b3 --- /dev/null +++ b/home/dot_local/share/bin/executable_copy.tmpl @@ -0,0 +1,6 @@ +#!/usr/bin/env sh +{{- if eq .chezmoi.os "darwin" }} +exec pbcopy +{{- else if eq .chezmoi.os "linux" }} +exec xclip -selection clipboard -in +{{- end }} |