Fix coming issues with Fig Dotfiles
Fig dotfiles compile to shell code. It is quite permissive, allowing almost all inputs. However, this does allow you to create config blocks containing errors. Here are some common things that can go wrong, and how to fix them.
You might have an empty name in one of your dotfiles blocks. Look for functions, aliases, and variables. Shells don't allow you to have an empty name for these things.
Different shells have different syntaxes. Bash and Zsh are mostly compatible, but running Zsh code in Fish may cause errors.
Make sure your Script blocks are only enabled for the shells they're intended to run in. To verify this, click the ••• button on a block, and look at Shell.
If you're trying to make a function that works across shells, take a look at Workflows and apply for early access!
If you've followed all the advice and still have no idea what's happening, please get in touch! We'd love to help fix it, and we'll add the fix to this page.