Add the function below to your ~/.bashrc
or ~/.zshrc
file.
Usage:
kirby <branch>
kirby
<?php | |
use Kirby\Cms\App; | |
App::plugin('adamkiss/simple-snippets', []); | |
if (! function_exists('s')) { | |
/** | |
* Short, auto-return snippet call with support for auto-merging certain parameters | |
* | |
* @param string $snippetName |