feat: emoji commit message generator
This commit is contained in:
11
tasks/commit-stradi.sh
Normal file
11
tasks/commit-stradi.sh
Normal 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"
|
||||
Reference in New Issue
Block a user