chore(global): fix syntax errors + update readme regarding variable changes

Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-06-07 21:12:09 +08:00
parent 278cdec266
commit c7a73e5b93
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
2 changed files with 7 additions and 4 deletions

View File

@ -11,14 +11,14 @@ working at The Pins Team, see [our dotfiles][df-gl].
```sh
## configure required variables
export GH_USERNAME=AndreiJirohHaliliDev2006
export GH_PAT=<my-gitlab1dotcom-PAT>
export GITLAB_LOGIN=AndreiJirohHaliliDev2006
export GITLAB_TOKEN=<my-gitlab1dotcom-PAT>
## Run the bootstrap script
$(command -v curl>>/dev/null && echo curl -o- || echo wget -q0-) https://raw.githubusercontent.com/AndreiJirohHaliliDev2006/dotfiles/main/dotfiles-bootstrapper-script.sh | bash -
## Done?
unset GH_USERNAME GH_PAT
unset GITLAB_TOKEN GITLAB_LOGIN
```
### With Cloning the Repo
@ -30,6 +30,9 @@ cd $HOME/.dotfiles
# no need for exporting my PAT before running this
./setup.sh [android|ubuntu-debian|arch|alpine|macos]
# you may optionally run the bootstrapper script if you want
GITLAB_LOGIN=AndreiJirohHaliliDev2006 GITLAB_TOKEN=<my-gitlab-saas-pat> ./bootstrap
```
## Want to fork me owo?

View File

@ -125,7 +125,7 @@ elif echo "$OSTYPE" | grep -qE '^linux-gnu.*' && [ -f '/etc/debian_version' ]; t
fi
if [[ $SKIP_CONFIG_LINKING == "" ]] && [ ! -f "~/.gitconfig" ]; then
ln -s $HOME/.dotfiles/linux.gitconfig ~/.gitconfig
elif [[ $SKIP_CONFIG_LINKING == "" && [ -f "~/.gitconfig" ]; then
elif [[ $SKIP_CONFIG_LINKING == "" ]] && [ -f "~/.gitconfig" ]; then
echo "warning: Existing Git configuration found, please manually merge them."
fi
sleep 5