Shell functions I've written and use relatively frequently.
-
Clone this project to desired path
-
Edit your
~/.zshrc
to include the path of clone with the following lines
fpath=( "/path/to/clone/zshfn" "${fpath[@]}" )
autoload -Uz $fpath[1]/*(.:t)
- Run
exec zsh
in your terminal
You're done! you can now run any of the scripts in the project. Call the script via the file name.