diff options
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 }} |