Template spawning for fish.
With fisher
Easy: fisher add knarka/spawn
Copy this repository's functions/spawn.fish to your .config/fish/functions/ folder
spawn Makefile
spawns theMakefile
template in your current directory.spawn raedme README
spawns theraedme
template in your current directory asREADME
.spawn -a .gitignore
adds the file.gitignore
in your current directory as a template by the same name.spawn -a Gemfile gf
adds the fileGemfile
in your current directory as a template by the name ofgf
.spawn -d main.c
removes themain.c
template.
Currently, the template folder isn't customizable, but I'm planning on changing that in the future.
See LICENSE