From a3a6aaad3b94c9e30ab71102dc4cd81afb532f6c Mon Sep 17 00:00:00 2001 From: Diogo Alexsander Cavilha Date: Sat, 30 Sep 2023 13:47:57 -0300 Subject: [PATCH 1/2] fix: shellcheck --- alias_functions/ga.sh | 1 + alias_functions/gaa.sh | 1 + alias_functions/gck.sh | 1 + alias_functions/gd.sh | 1 + alias_functions/gs.sh | 1 + 5 files changed, 5 insertions(+) diff --git a/alias_functions/ga.sh b/alias_functions/ga.sh index 8652617..11efd4a 100644 --- a/alias_functions/ga.sh +++ b/alias_functions/ga.sh @@ -5,6 +5,7 @@ # # git add +# shellcheck source=/dev/null . ~/.fancy-git/modules/settings-manager.sh git_use_clear=$(fancygit_config_get "git_use_clear" "true") diff --git a/alias_functions/gaa.sh b/alias_functions/gaa.sh index 436a33e..d238ac3 100644 --- a/alias_functions/gaa.sh +++ b/alias_functions/gaa.sh @@ -5,6 +5,7 @@ # # git add --all +# shellcheck source=/dev/null . ~/.fancy-git/modules/settings-manager.sh git_use_clear=$(fancygit_config_get "git_use_clear" "true") diff --git a/alias_functions/gck.sh b/alias_functions/gck.sh index 4838bd4..cb2b632 100644 --- a/alias_functions/gck.sh +++ b/alias_functions/gck.sh @@ -5,6 +5,7 @@ # # git checkout -- +# shellcheck source=/dev/null . ~/.fancy-git/modules/settings-manager.sh git_use_clear=$(fancygit_config_get "git_use_clear" "true") diff --git a/alias_functions/gd.sh b/alias_functions/gd.sh index c347c6e..2437fa6 100644 --- a/alias_functions/gd.sh +++ b/alias_functions/gd.sh @@ -5,6 +5,7 @@ # # git diff +# shellcheck source=/dev/null . ~/.fancy-git/modules/settings-manager.sh git_use_clear=$(fancygit_config_get "git_use_clear" "true") diff --git a/alias_functions/gs.sh b/alias_functions/gs.sh index 0232322..d7ac288 100644 --- a/alias_functions/gs.sh +++ b/alias_functions/gs.sh @@ -5,6 +5,7 @@ # # git status +# shellcheck source=/dev/null . ~/.fancy-git/modules/settings-manager.sh git_use_clear=$(fancygit_config_get "git_use_clear" "true") From 814cfa1faf85a7a76a960304ee76fdbf921b10a4 Mon Sep 17 00:00:00 2001 From: Diogo Alexsander Cavilha Date: Sat, 30 Sep 2023 13:52:58 -0300 Subject: [PATCH 2/2] chore: update version and changelog --- CHANGELOG.md | 3 +++ version.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5543755..e28cc96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ > Any trouble, please visit the [troubleshooting page](https://github.com/diogocavilha/fancy-git/blob/master/TROUBLESHOOTING.md) +## v7.6.1 +- Fix shellcheck issues. + ## v7.6.0 - Add `fancygit --enable-git-clear` command to clear terminal on some Git aliases (ga, gaa, gck, gd, gs). - Add `fancygit --disable-git-clear` command to prevent clearing terminal on some Git aliases (ga, gaa, gck, gd, gs). diff --git a/version.sh b/version.sh index d519d39..233db4b 100644 --- a/version.sh +++ b/version.sh @@ -3,4 +3,4 @@ # Author: Diogo Alexsander Cavilha # Date: 11.17.2017 -export FANCYGIT_VERSION="7.6.0" +export FANCYGIT_VERSION="7.6.1"