summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig15
1 files changed, 0 insertions, 15 deletions
diff --git a/.gitconfig b/.gitconfig
deleted file mode 100644
index 6426480..0000000
--- a/.gitconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-[oh-my-zsh]
- git-commit-alias = 13d4176a686507678ffd1b889838356f95f217e0
-[alias]
- build = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"build${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- chore = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"chore${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- ci = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"ci${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- docs = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"docs${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- feat = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"feat${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- fix = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"fix${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- perf = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"perf${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- refactor = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"refactor${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- rev = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"revert${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- style = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"style${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- test = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"test${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"
- wip = "!a() {\nlocal _scope _attention _message\nwhile [ $# -ne 0 ]; do\ncase $1 in\n -s | --scope )\n if [ -z $2 ]; then\n echo \"Missing scope!\"\n return 1\n fi\n _scope=\"$2\"\n shift 2\n ;;\n -a | --attention )\n _attention=\"!\"\n shift 1\n ;;\n * )\n _message=\"${_message} $1\"\n shift 1\n ;;\nesac\ndone\ngit commit -m \"wip${_scope:+(${_scope})}${_attention}:${_message}\"\n}; a"