Git alias conventional-commit
and m
to create conventional commits so fast. And prepare the scope with the alias git scope <scope-name>
.
Run the next line in your shell terminal
curl -L https://gist.github.com/JonDotsoy/80f495333905a9b702fb681cd1a8faf2/raw/install.sh | sh
Add custom command to look the current scope setted.
Open the starship.toml
file and add the next command:
[custom.git-commit-conventional_scope]
command = 'echo "$(git config --local -z --get git-commit-conventional.scope)$([[ $(git config --local --get git-commit-conventional.breaking-change) == "true" ]] && echo "!" )"'
when = 'git config --local -z --get git-commit-conventional.scope'
style = "bold green"
symbol = "❇️"
format = "[$symbol ($output )]($style)"