Skip to content

Commit

Permalink
Merge pull request #148 from diogocavilha/fix/shellcheck
Browse files Browse the repository at this point in the history
Fix/shellcheck
  • Loading branch information
diogocavilha authored Sep 30, 2023
2 parents 9ec4f7d + 814cfa1 commit 4a51027
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
1 change: 1 addition & 0 deletions alias_functions/ga.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions alias_functions/gaa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions alias_functions/gck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions alias_functions/gd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
1 change: 1 addition & 0 deletions alias_functions/gs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Author: Diogo Alexsander Cavilha <diogocavilha@gmail.com>
# Date: 11.17.2017

export FANCYGIT_VERSION="7.6.0"
export FANCYGIT_VERSION="7.6.1"

0 comments on commit 4a51027

Please sign in to comment.