Add module filtering to install.sh/main
This commit is contained in:
4
spec/autoload.sh
Normal file
4
spec/autoload.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env zsh
|
||||
FPATH="`pwd`/zshlib:${FPATH}"
|
||||
local funcNames=("${(@f)$(find . -type f -perm +u=x -maxdepth 1 | awk -F/ '{ print $NF }')}")
|
||||
autoload -Uz "${funcNames[@]}"
|
||||
Reference in New Issue
Block a user