Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,23 @@
// Disable ShellCheck from Bash IDE as we use VS Code ShellCheck
"bashIde.shellcheckPath": "",
"cSpell.words": [
"C",
"CODESPACES",
"Cássio",
"DISTRO",
"Fira",
"NOPASSWD",
"Powerlevel",
"USERPROFILE",
"asciinema",
"chezmoi",
"chmod",
"choco",
"chsh",
"CODESPACES",
"devcontainer",
"DISTRO",
"dotfiles",
"felipecrs",
"jfrog",
"Fira",
"kubectl",
"NOPASSWD",
"onedrive",
"Powerlevel",
"shellcheck",
"ssio",
"submodule",
"sudoers",
"USERPROFILE",
"wslpath",
"wslvar"
],
Expand Down Expand Up @@ -61,18 +55,19 @@
},
"files.associations": {
"**/home/install": "shellscript",
"*_zshrc": "shellscript",
"*_antigenrc": "shellscript",
"*_profile.tmpl": "shellscript",
"*_bashrc": "shellscript",
"*_bash_aliases.tmpl": "shellscript",
"**/home/**/run_*": "shellscript",
"**/home/dot_gitmessage": "git-commit",
"**/home/dot_profile.tmpl": "shellscript",
"**/home/dot_bashrc": "shellscript",
"**/home/dot_bash_profile": "shellscript",
"**/home/dot_bash_aliases.tmpl": "shellscript",
"**/home/dot_zshrc": "shellscript",
"**/home/**/executable_*": "shellscript",
"**/home/**/modify_*": "helm",
"*.yaml.tmpl": "helm",
".chezmoi*.yaml": "helm",
".chezmoiignore": "helm",
".chezmoiremove": "helm",
"**/.chezmoiscripts/run_*": "shellscript",
"**/.chezmoitemplates/*": "helm",
"**/.chezmoitemplates/*-library": "shellscript"
}
Expand Down
4 changes: 4 additions & 0 deletions home/.gitconfig.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ cmd = code --wait $MERGED
[diff]
tool = vscode

[commit]
template = ~/.gitmessage
cleanup = strip

[merge]
autoStash = true
tool = vscode
Expand Down
56 changes: 56 additions & 0 deletions home/dot_gitmessage
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
##################################################
# Title: What does this commit do?
# - Start with an uppercase imperative verb.
# - Do not end with a period.
# - Limit to 50 characters (the width of the line below).
##################################################


########################################################################
# Body: Why is this change happening?
# - Describe the purpose, goal, use case, or user story.
# - Leave a blank line above to separate from the title.
# - Wrap lines at 72 characters (the width of the line below).
########################################################################


########################################################################
# Body: How is this change happening?
# - Describe relevant algorithms, protocols, or implementation details.
# - Leave a blank line above to separate from the previous section.
# - Wrap lines at 72 characters (the width of the line below).
########################################################################


########################################################################
# Trailers: What references are relevant? (optional)
# - Must be the last part of the commit message.
# - Leave a blank line above to separate from the body.
# - URLs in trailers do not need to be wrapped.
#
# Examples:
#
# Closes: #123
# See: https://example.com/long-url-that-does-not-need-to-be-wrapped
# Co-authored-by: Name <[email protected]>
#
########################################################################


########################################################################
# Reference: Imperative verbs for the title
# Add = Create a capability (feature, test, dependency)
# Drop = Delete a capability (feature, test, dependency)
# Fix = Fix an issue (bug, typo, accident, misstatement)
# Bump = Increase the version of a dependency
# Make = Change the build process, tools, or infrastructure
# Start = Begin doing something (enable a toggle, feature flag)
# Stop = End doing something (disable a toggle, feature flag)
# Optimize = Improve performance
# Document = Change documentation
# Refactor = Restructure code without changing behavior
# Reformat = Adjust formatting (indentation, spacing)
# Rephrase = Reword text (comments, docs)
#
# Full guide: https://chris.beams.io/git-commit
########################################################################