mkcd is a simple helper that creates a directory (respecting any options you pass to mkdir) and immediately enters it. This repository packages the function as a Fisher-compatible plugin.
Install with Fisher by pointing it at this repository:
fisher install DanzigerGeist/mkcd.fishAlternatively, from a local checkout you can run:
fisher install /path/to/mkcd.fishmkcd new-projectAny options supported by mkdir can be passed through to mkcd:
mkcd -p src/components/buttonIf the directory already exists or the target cannot be determined, the function prints an error message and exits with a non-zero status.