Adds bootstrap.v2
This commit is contained in:
parent
06c8003cf2
commit
2bbccb4595
61 changed files with 468 additions and 4 deletions
18
.config/yadm/bootstrap.v2/applications/30-Git.sh
Executable file
18
.config/yadm/bootstrap.v2/applications/30-Git.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/env sh
|
||||
|
||||
addApplications git gnome-keyring \
|
||||
git-credential-oauth
|
||||
|
||||
configure-git-oauth() {
|
||||
git credential-oauth configure
|
||||
}
|
||||
|
||||
#source ./30-GitUserConfig.sh.add
|
||||
|
||||
if ! git config list | grep "credential.helper=oauth" >/dev/null; then
|
||||
addActions configure-git-oauth
|
||||
fi
|
||||
|
||||
if ! git config list | grep "user.name" > /dev/null; then
|
||||
addActions git-user-config
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue