about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--COPYING6
-rw-r--r--README.md8
-rwxr-xr-xfoil.sh4
3 files changed, 18 insertions, 0 deletions
diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..64dbf4a --- /dev/null +++ b/COPYING
@@ -0,0 +1,6 @@
1FOIL: copy and paste shit
2by C. Duckworth <acdw@acdw.net>
3
4This program is free software;
5you can use it as you see fit,
6but don't hold me responsible.
diff --git a/README.md b/README.md new file mode 100644 index 0000000..2e4ce10 --- /dev/null +++ b/README.md
@@ -0,0 +1,8 @@
1# FOIL
2## copy and paste shit
3
4This is a POSIX-sh clone of
5[clipboard.zsh](https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/clipboard.zsh)
6that I made for my friend L.
7
8No guarantees or promises are made.
diff --git a/foil.sh b/foil.sh index e4a438f..52382eb 100755 --- a/foil.sh +++ b/foil.sh
@@ -1,5 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2# FOIL: copy and paste shit 2# FOIL: copy and paste shit
3# by C. Duckworth <acdw@acdw.net>
4# This program is free software;
5# you can use it as you see fit,
6# but don't hold me responsible.
3 7
4t="$(mktemp)" 8t="$(mktemp)"
5trap 'rm -f "$t"' EXIT INT 9trap 'rm -f "$t"' EXIT INT