feat: new 'tasks' utils
This commit is contained in:
1 parent
164b13f9f0
commit
2160370d41
5 files changed
+99
-1
No files matched your search
@@ -0,0 +1,10 @@
|
||||
feat | New feature
|
||||
fix | A bug fix
|
||||
chore | Unavoidable task not related
|
||||
build | Changes to the build system or external dependencies
|
||||
ci | Changes to our CI configuration
|
||||
docs | Documentation only changes
|
||||
style | Changes to white-space, formatting, missing semi-colons, etc.
|
||||
refactor | A code change that neither fixes a bug nor adds a feature
|
||||
perf | A code change that improves performance
|
||||
test | Adding or correcting tests
|
||||
@@ -0,0 +1,27 @@
|
||||
:broom: │ 🧹 │ clean, cleanup, remove
|
||||
:recycle: │ ♻️ │ recycle, actor
|
||||
:wrench: │ 🔧 │ adjustment, rection, adapter
|
||||
:gear: │ ⚙️ │ adjustment
|
||||
:control_knobs: │ 🎛 │ config, adjustment
|
||||
:bug: │ 🐛 │ bug
|
||||
:zap: │ ⚡️ │ speeded
|
||||
:bar_chart: │ 📊 │ analytics, chart
|
||||
:chart_with_upwards_trend: │ 📈 │ analytics, chart, upwards
|
||||
:package: │ 📦 │ package, wrap, ture
|
||||
:fire: │ 🔥 │ fire, fix
|
||||
:sparkles: │ ✨ │ new, feature
|
||||
:nail_care: │ 💅 │ styles, prettify
|
||||
:art: │ 🎨 │ styles, colors
|
||||
:lipstick: │ 💄 │ styles, prettify
|
||||
:white_check_mark: │ ✅ │ check, done
|
||||
:test_tube: │ 🧪 │ test, testing
|
||||
:pencil: │ 📝 │ docs
|
||||
:warning: │ ⚠️ │ warning
|
||||
:no_entry_sign: │ 🚫 │ cancel
|
||||
:rotating_light: │ 🚨 │ alert, ect
|
||||
:mag_right: │ 🔎 │ search
|
||||
:old_key: │ 🗝 │ dentials
|
||||
:rocket: │ 🚀 │ shipping
|
||||
:stopwatch: │ ⏱ │ speed, performance
|
||||
:wheelchair: │ ♿️ │ accessibility, a11y
|
||||
:globe_with_meridians: │ 🌐 │ intl, i18n, i10n, tradus, lang
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
type="$(cat ~/.config/nvim/tasks/assets/conventional_commits_types.txt | fzf | awk -F' ' '{print $1 ": "}')"
|
||||
emoji="$(cat ~/.config/nvim/tasks/assets/emoji_list.txt | fzf | awk -F' ' '{print $3 " "}')"
|
||||
branch="$(git branch --show-current | awk -F'/' '{if ($2) print " [" $2 "] "}')"
|
||||
|
||||
message="$type$branch$emoji"
|
||||
|
||||
echo -n "$message"
|
||||
read body
|
||||
|
||||
git commit -m "$message$body"
|
||||
Reference in new issue
Block a user