Set up optional development features¶
Tab completion¶
Completion is achieved by saving a script and then executing it as a part of your shell's startup sequence.
Afterward, you'll need to start a new shell in order for the changes to take effect.
Save the script somewhere:
Source the file in ~/.zshrc:
Save the script somewhere:
Source the file in ~/.bashrc (or ~/.bash_profile if on macOS):
Tip
There is also limited tab completion support for the legacy invoke tasks. Here's an example:
Pre-commit hooks¶
The CI runs a number of required checks using pre-commit and running those locally can speed up the development process.
-
Install
pre-commitby running the following command. -
Use
ddato configure the pre-commit hooks.