summaryrefslogtreecommitdiff
path: root/dot_local/share/toasty/functions/sourceall
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2021-05-06 12:13:43 -0400
committerChloe Kudryavtsev <toast@toast.cafe>2021-05-06 12:13:43 -0400
commit4be2fb4e53dfd1493dc0e4603f2dbf005bea9a09 (patch)
treefd655147927f0f5d5a75a7dce813abddbc1ae10f /dot_local/share/toasty/functions/sourceall
parentupdate tmux conf (diff)
remove zsh
Diffstat (limited to 'dot_local/share/toasty/functions/sourceall')
-rw-r--r--dot_local/share/toasty/functions/sourceall16
1 files changed, 0 insertions, 16 deletions
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