14 lines
325 B
Plaintext
14 lines
325 B
Plaintext
function zssh_enumeratenodes()
|
|
{
|
|
typeset -g -a zssh_nodes;
|
|
zshlibs_log zssh_configure "enumerating nodes"
|
|
if [[ -d $zssh_global_configs ]]
|
|
then
|
|
for __ssh_node in ${zssh_global_configs}/*(/)
|
|
do
|
|
zssh_nodes+=($(basename $__ssh_node))
|
|
done
|
|
fi
|
|
zshlibs_log zssh_configure "got ${#zssh_nodes} nodes"
|
|
}
|