Update automated-deploy to fix some syntax issues

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
Andrei Jiroh Halili 2023-10-07 08:34:38 +08:00
parent b3a9fa8685
commit adcca67efc
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
2 changed files with 9 additions and 4 deletions

View file

@ -2,9 +2,9 @@
for file in "${HOME}"/.config/bash/tools/*.bashrc; do
if [ "$file" == "${HOME}/.config/bash/tools/automated-deploy.bashrc" ]; then
echo "avoiding source loop, skipping $file"
[[ $DEBUG != "" ]] && echo "avoiding source loop, skipping $file"
else
[ $DEBUG != "" ] && echo "sourcing $file"
[[ $DEBUG != "" ]] && echo "sourcing $file"
source "$file"
fi
done

View file

@ -68,6 +68,7 @@
root = rev-parse --show-toplevel
signoff-commit = commit --signoff
signoff = signoff-commit
remotes = remote -v
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
@ -85,11 +86,15 @@
path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:~/projects/recaptime.dev/"]
path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:/workspaces/recaptime.dev"]
[includeIf "gitdir/i:/workspaces/recaptime.dev/"]
path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:~/projects/recaptime-dev/"]
path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:/workspaces/recaptime-dev"]
[includeIf "gitdir/i:/workspaces/recaptime-dev/"]
path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:/workspaces/lorebooks.wiki/"]
path = ~/.config/git/recaptime-dev.include.gitconfig
[includeIf "gitdir/i:/workspaces/lorebooks-wiki/"]
path = ~/.config/git/recaptime-dev.include.gitconfig
#[includeIf "gitdir/i:~projects/"]
# path = ~/.config/git/ajhalili2006.include.gitconfig