build-home.sh 583 B

123456789101112131415
  1. #!/bin/sh
  2. git config --global init.defaultBranch $DEVENV_GIT_DEF_BRANCH
  3. git config --global user.name $DEVENV_USER
  4. git config --global user.email $DEVENV_EMAIL
  5. git config --global core.editor "NVIM_LISTEN_ADDRESS=/home/$DEVENV_USER/nvimsocket nvr --nostart --remote-wait-silent"
  6. git config --global credential.helper store
  7. touch /home/$DEVENV_USER/.git-credentials
  8. echo "https://$DEVENV_GH_USER:$DEVENV_GH_PASS@github.com" >> /home/$DEVENV_USER/.git-credentials
  9. echo "https://$DEVENV_SH_USER:$DEVENV_SH_PASS@git.brickner.cloud" >> /home/$DEVENV_USER/.git-credentials
  10. ~/setup.sh