Small bugs and cosmetic issues (#3776)

* Remove debug code

* Replace duplicate query

* Oh-my-zsh configuration has been changed. Adjusting our modifications

* Address changes to git client in a better way
This commit is contained in:
Igor Pečovnik
2022-05-11 19:46:10 +02:00
committed by GitHub
parent 68729a3aa6
commit c8013d14a5
4 changed files with 5 additions and 10 deletions

View File

@@ -30,7 +30,9 @@ fi
if [[ -f "${SRC}"/lib/general.sh ]]; then
# Declare this folder as safe
git config --global --add safe.directory "${SRC}"
if [[ -z $(cat ${HOME}/.gitconfig | grep "directory = \*") ]]; then
git config --global --add safe.directory "*"
fi
# shellcheck source=lib/general.sh
source "${SRC}"/lib/general.sh