summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sp6
-rwxr-xr-xscripts/spell2
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/sp b/scripts/sp
new file mode 100755
index 0000000..19d38a1
--- /dev/null
+++ b/scripts/sp
@@ -0,0 +1,6 @@
+#! /usr/bin/env sh
+if [ $# -eq 0 ]; then
+ wl-paste | aspell -a
+else
+ echo "$@" | aspell -a
+fi
diff --git a/scripts/spell b/scripts/spell
deleted file mode 100755
index 42e1f99..0000000
--- a/scripts/spell
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env sh
-echo "$@" | aspell -a