Compare commits
3 Commits
21f925a994
...
b909524ed8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b909524ed8 | ||
![]() |
bc36439ae8 | ||
![]() |
031d24dc03 |
32
dot_config/git/commitmsg
Normal file
32
dot_config/git/commitmsg
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
# Format: <type>[optional scope]: <description>
|
||||
#
|
||||
# Examples:
|
||||
# feat: add new login flow
|
||||
# fix: handle empty input properly in parser
|
||||
# refactor(api): simplify response handler
|
||||
# docs: add README section on usage
|
||||
# chore: update .gitignore rules
|
||||
# test: add coverage for config loader
|
||||
#
|
||||
#
|
||||
# BREAKING CHANGES must be indicated with a "!" or in the footer:
|
||||
# feat!: change output format to JSON
|
||||
# chore(build)!: drop support for Node 14
|
||||
#
|
||||
# Or add footer:
|
||||
# BREAKING CHANGE: config files now must include version field
|
||||
|
||||
# --------------------
|
||||
# <type>(optional scope): <description>
|
||||
#
|
||||
# Optional body — explain what and why, not how
|
||||
#
|
||||
# Optional footers:
|
||||
# BREAKING CHANGE: description
|
||||
# Refs: #123, #456
|
||||
# Reviewed-by: username
|
||||
# --------------------
|
||||
|
||||
# Leave empty lines between header, body, and footer.
|
@@ -418,3 +418,8 @@ end
|
||||
if type -q hledger
|
||||
abbr hl hledger
|
||||
end
|
||||
|
||||
if type -q chot
|
||||
abbr ch chot
|
||||
abbr che chot edit
|
||||
end
|
||||
|
@@ -13,7 +13,7 @@ set -x XDG_PICTURES_DIR "$HOME/vc/pix"
|
||||
set -x XDG_VIDEOS_DIR "$HOME/vc/vids"
|
||||
set -x PATH $HOME/.local/bin $PATH
|
||||
|
||||
|
||||
set -x SCRIPTS_DIR "$HOME"/dev/scripts
|
||||
|
||||
# Editor
|
||||
if type -q nvim;
|
||||
@@ -169,6 +169,10 @@ if type -q zoxide
|
||||
set -x _ZO_FZF_OPTS "-1"
|
||||
end
|
||||
|
||||
if type -q chot; and test -d "$SCRIPTS_DIR"
|
||||
set -x CHOT_SCRIPT "$SCRIPTS_DIR"/chot
|
||||
end
|
||||
|
||||
{{- if (and (eq .chezmoi.os "linux") (eq .hosttype "desktop" "laptop")) }}
|
||||
if test -d "$XDG_DATA_HOME/flatpak/exports/bin"
|
||||
set -ax PATH "$XDG_DATA_HOME/flatpak/exports/bin"
|
||||
|
Reference in New Issue
Block a user