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
3 changes: 3 additions & 0 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ logger() {
create_symlinks() {
logger "Setting shortcuts for dotfiles"
mkdir -p ~/.config/yamllint
mkdir -p ~/.config/lazygit
mkdir -p ~/.newsboat
mkdir -p ~/.vagrant.d
ln -sf ~/dotfiles/git/gitconfig ~/.gitconfig
Expand All @@ -61,6 +62,8 @@ create_symlinks() {
ln -sf ~/dotfiles/postgresql/psqlrc ~/.psqlrc
ln -sf ~/dotfiles/prettier/.prettierrc ~/.prettierrc
ln -sf ~/dotfiles/colima/colima.yaml ~/.colima/default/colima.yaml
# lazygit reads $XDG_CONFIG_HOME, which zshrc sets to ~/.config
ln -sf ~/dotfiles/lazygit/config.yml ~/.config/lazygit/config.yml
mkdir -p ~/.cursor
ln -sfn ~/dotfiles/ai/rules ~/.cursor/rules
ln -sfn ~/dotfiles/ai/skills ~/.cursor/skills
Expand Down
9 changes: 2 additions & 7 deletions lazygit/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---

# From https://github.com/jesseduffield/lazygit/issues/41
# Messages follow git-cz: <type>(<scope>): <emoji> <description>
customCommands:
- key: "C"
command: 'git commit -m "{{ .Form.Type }}{{if .Form.Scopes}}({{ .Form.Scopes }}){{end}}: {{ .Form.Description }}"'
command: 'git commit -m "{{ .Form.Type }}{{if .Form.Scopes}}({{ .Form.Scopes }}){{end}}: {{if eq .Form.Type "feat"}}🎸{{else if eq .Form.Type "fix"}}🐛{{else if eq .Form.Type "docs"}}✏️{{else if eq .Form.Type "style"}}💄{{else if eq .Form.Type "refactor"}}💡{{else if eq .Form.Type "perf"}}⚡️{{else if eq .Form.Type "test"}}💍{{else if eq .Form.Type "ci"}}🎡{{else if eq .Form.Type "chore"}}🤖{{end}} {{ .Form.Description }}"'
description: "commit with commitizen"
context: "files"
prompts:
Expand Down Expand Up @@ -32,18 +33,12 @@ customCommands:
- name: "Tests"
description: "Adding missing tests or correcting existing tests"
value: "test"
- name: "Builds"
description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)"
value: "build"
- name: "Continuous Integration"
description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)"
value: "ci"
- name: "Chores"
description: "Other changes that don't modify src or test files"
value: "chore"
- name: "Reverts"
description: "Reverts a previous commit"
value: "revert"
- type: "input"
title: "Enter the scope(s) of this change."
key: "Scopes"
Expand Down
Loading