feat: emoji commit message generator

This commit is contained in:
2025-03-30 18:00:34 +02:00
parent c38187faf4
commit 0389ffe2ee
2 changed files with 35 additions and 0 deletions

11
tasks/commit-stradi.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
emoji="$(cat ~/.config/zed/tasks/assets/emoji_list.txt | fzf | awk -F' ' '{print $1}')"
branch="$(git branch --show-current | awk -F'/' '{print $2}')"
message="[$branch] $emoji "
echo -n $message | pbcopy
echo "$message copied to clipboard"