diff --git a/README.md b/README.md index 38ad2b9..9307daf 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ export GITLAB_LOGIN=AndreiJirohHaliliDev2006 export GITLAB_TOKEN= ## 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 - +$(command -v curl>>/dev/null && echo curl -o- || echo wget -q0-) https://raw.githubusercontent.com/AndreiJirohHaliliDev2006/dotfiles/main/bootstrap | bash - ## Done? unset GITLAB_TOKEN GITLAB_LOGIN @@ -29,10 +29,10 @@ git clone https://github.com/AndreiJirohHaliliDev2006/dotfiles $HOME/.dotfiles cd $HOME/.dotfiles # no need for exporting my PAT before running this -./setup.sh [android|ubuntu-debian|arch|alpine|macos] +./bootstrap --flags-over-here --and-this-one stuff # you may optionally run the bootstrapper script if you want -GITLAB_LOGIN=AndreiJirohHaliliDev2006 GITLAB_TOKEN= ./bootstrap +GITLAB_LOGIN=AndreiJirohHaliliDev2006 GITLAB_TOKEN= ./bootstrap --flags-over here ``` ## Want to fork me owo? diff --git a/dotfiles-bootstrapper-script.sh b/bootstrap similarity index 98% rename from dotfiles-bootstrapper-script.sh rename to bootstrap index 108e1fe..2248548 100644 --- a/dotfiles-bootstrapper-script.sh +++ b/bootstrap @@ -182,9 +182,9 @@ installShellCheck() { cp "shellcheck-${scversion}/shellcheck" $PREFIX/bin else if [[ $isOwnedByUser == "" ]]; then - sudo rm $PREFIX/bin/shellcheck + sudo rm "${PREFIX}/bin/shellcheck" else - rm $PREFIX/bin/shellcheck + rm "${PREFIX}/bin/shellcheck" fi fi }