summaryrefslogtreecommitdiff
path: root/dot_local/share/toasty/functions
diff options
context:
space:
mode:
Diffstat (limited to 'dot_local/share/toasty/functions')
-rw-r--r--dot_local/share/toasty/functions/autosource10
-rw-r--r--dot_local/share/toasty/functions/brpaste6
-rw-r--r--dot_local/share/toasty/functions/sourceall16
-rw-r--r--dot_local/share/toasty/functions/sprunge2
4 files changed, 0 insertions, 34 deletions
diff --git a/dot_local/share/toasty/functions/autosource b/dot_local/share/toasty/functions/autosource
deleted file mode 100644
index 12b6bab..0000000
--- a/dot_local/share/toasty/functions/autosource
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/zsh
-local f=
-local p=
-for f
-do
- for p in $spath
- do
- [[ -r $p/$f ]] && . "$p/$f" && break
- done
-done
diff --git a/dot_local/share/toasty/functions/brpaste b/dot_local/share/toasty/functions/brpaste
deleted file mode 100644
index b4cf5ef..0000000
--- a/dot_local/share/toasty/functions/brpaste
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/zsh
-host='https://brpaste.xyz'
-[[ $# -eq 0 ]] && set -- '-'
-brpaste_id=$(curl -\#fF "data=<$1" "$host") \
- || { echo 'ERROR: Upload failed!' >&2 && return 1; }
-printf '%s/%s\n' "$host" "$brpaste_id"
diff --git a/dot_local/share/toasty/functions/sourceall b/dot_local/share/toasty/functions/sourceall
deleted file mode 100644
index b63c58b..0000000
--- a/dot_local/share/toasty/functions/sourceall
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/zsh
-local ext=
-local f=
-local p=
-
-# calling `sourceall zsh` will source *.zsh, otherwise *
-(( $# > 0 )) && ext=".$1"
-
-for p in $apath
-do
- [[ -d $p ]] || continue
- for f in $p/*$ext(.N)
- do
- [[ -r $f ]] && . $f
- done
-done
diff --git a/dot_local/share/toasty/functions/sprunge b/dot_local/share/toasty/functions/sprunge
deleted file mode 100644
index c76ed76..0000000
--- a/dot_local/share/toasty/functions/sprunge
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/zsh
-curl -F 'sprunge=<-' http://sprunge.us