summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorYigit Sever2023-01-02 23:26:50 +0300
committerYigit Sever2023-01-02 23:26:50 +0300
commit68f0272232f95158f4808d05411d761c564cc5d3 (patch)
tree94a1093e7c96455e9d170bf8b1de55d8032a4169 /.local
parentc60b5a2d054aa18e72f44b40935ba515b33e7ce9 (diff)
downloaddotfiles-68f0272232f95158f4808d05411d761c564cc5d3.tar.gz
dotfiles-68f0272232f95158f4808d05411d761c564cc5d3.tar.bz2
dotfiles-68f0272232f95158f4808d05411d761c564cc5d3.zip
(yc): don't use semantic commits
they don't make sense for dotfiles
diffstat (limited to '.local')
-rwxr-xr-x.local/bin/yc3
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/yc b/.local/bin/yc
index c0108cf..16c2e9b 100755
--- a/.local/bin/yc
+++ b/.local/bin/yc
@@ -1,11 +1,10 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2 2
3TYPE=$(gum choose "fix" "feat" "docs" "style" "refactor" "test" "chore" "revert")
4SCOPE=$(gum input --placeholder "scope") 3SCOPE=$(gum input --placeholder "scope")
5 4
6test -n "$SCOPE" && SCOPE="($SCOPE)" 5test -n "$SCOPE" && SCOPE="($SCOPE)"
7 6
8SUMMARY=$(gum input --value "$TYPE$SCOPE: " --placeholder "summary of this change") 7SUMMARY=$(gum input --value "$SCOPE: " --placeholder "summary of this change")
9DESCRIPTION=$(gum write --placeholder "details of this change (<C-d> to finish)") 8DESCRIPTION=$(gum write --placeholder "details of this change (<C-d> to finish)")
10 9
11gum confirm "commit changes?" && yadm commit -m "$SUMMARY" -m "$DESCRIPTION" 10gum confirm "commit changes?" && yadm commit -m "$SUMMARY" -m "$DESCRIPTION"