diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 0450843..a2da841 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,7 +10,7 @@ ## Description - + ## Type of change diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dbf0f6a..62eabc8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: ci # Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch +# events, but only for the master branch on: [push, pull_request] # A workflow run is made up of one or more jobs that can run sequentially or in parallel diff --git a/README.md b/README.md index 2744f1e..c261e54 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ forgit_reset_head=grh forgit_ignore=gi forgit_checkout_file=gcf forgit_checkout_branch=gcb -forgit_branch_delet=gbd +forgit_branch_delete=gbd forgit_checkout_tag=gct forgit_checkout_commit=gco forgit_revert_commit=grc diff --git a/conf.d/forgit.plugin.fish b/conf.d/forgit.plugin.fish index c8b9203..27aa13f 100644 --- a/conf.d/forgit.plugin.fish +++ b/conf.d/forgit.plugin.fish @@ -30,7 +30,7 @@ function forgit::previous_commit end end -# extract the first git sha occuring in the input and strip trailing newline +# extract the first git sha occurring in the input and strip trailing newline set -g forgit_extract_sha "grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]'" set -g forgit_pager "$FORGIT_PAGER" diff --git a/forgit.plugin.zsh b/forgit.plugin.zsh index 43a0392..9670fa6 100755 --- a/forgit.plugin.zsh +++ b/forgit.plugin.zsh @@ -18,7 +18,7 @@ forgit::previous_commit() { # optional render emoji characters (https://github.com/wfxr/emoji-cli) hash emojify &>/dev/null && forgit_emojify='|emojify' -# extract the first git sha occuring in the input and strip trailing newline +# extract the first git sha occurring in the input and strip trailing newline forgit_extract_sha="grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]'" forgit_pager=${FORGIT_PAGER:-$(git config core.pager || echo 'cat')}