docs: update clone and remote URLs to GitHub mirror

This commit is contained in:
Sarthak 2026-09-14 17:09:12 +05:30
parent 95898b208c
commit 9b3595622e
2 changed files with 3 additions and 2 deletions

View file

@ -69,7 +69,8 @@ curl -fsSL https://rice.srtk.in/install.sh | bash
or from a clone: or from a clone:
```sh ```sh
git clone https://git.srtk.in/sarthak/dotfiles.git ~/rice git clone https://github.com/sarthak1337-alt/dotfiles.git ~/rice
# or self-hosted: git clone https://git.srtk.in/sarthak/dotfiles.git ~/rice
~/rice/install.sh # full install, safe to re-run ~/rice/install.sh # full install, safe to re-run
~/rice/install.sh --dry-run # print every step, change nothing ~/rice/install.sh --dry-run # print every step, change nothing
~/rice/install.sh --update # pull, re-link, re-render, rebuild what changed ~/rice/install.sh --update # pull, re-link, re-render, rebuild what changed

View file

@ -13,7 +13,7 @@
# splash. Anything it would replace is moved to ~/.rice-backup-<date>/ first. # splash. Anything it would replace is moved to ~/.rice-backup-<date>/ first.
set -uo pipefail set -uo pipefail
RICE_REMOTE="${RICE_REMOTE:-https://git.srtk.in/sarthak/dotfiles.git}" RICE_REMOTE="${RICE_REMOTE:-https://github.com/sarthak1337-alt/dotfiles.git}"
RICE_HOME="${RICE_HOME:-$HOME/rice}" RICE_HOME="${RICE_HOME:-$HOME/rice}"
STATE="${XDG_STATE_HOME:-$HOME/.local/state}/rice" STATE="${XDG_STATE_HOME:-$HOME/.local/state}/rice"
BACKUP="$HOME/.rice-backup-$(date +%Y%m%d-%H%M%S)" BACKUP="$HOME/.rice-backup-$(date +%Y%m%d-%H%M%S)"