Autoload zshlib functions for shellspec
This commit is contained in:
@@ -1,4 +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 }')}")
|
||||
local funcNames=("${(@f)$(find ./zshlib -type f -perm +u=x -maxdepth 1 | awk -F/ '{ print $NF }')}")
|
||||
autoload -Uz "${funcNames[@]}"
|
||||
|
||||
Reference in New Issue
Block a user