my personal zsh functions autoloaded into ~/.zshrc
by adding the following:
fpath=( $ZFUNC_PATH "${fpath[@]}" )
autoload -U ${fpath[1]}/*(:t);
where $ZFUNC_PATH
is an alias to this repo.
Currently used as a VS Code Snippet
# ~/zfuncs/my-function
# NAME
# DESCRIPTION
__my-function () {
echo "NAME: DESCRIPTION";
echo "-----------";
# todo: script here
echo "-----------";
echo "NAME Complete";
}
__my-function