1
0
- repo uris
- installation instructions
This commit is contained in:
Konstantin Demin 2024-03-20 12:32:50 +03:00
parent 3ca95a5d83
commit 37de43b409
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6

View File

@ -1,16 +1,9 @@
personal dotfiles. personal dotfiles
## installation ## repo URLs
```sh - https://git.krd.sh/krd/dotfiles (main)
curl -sSL https://dotfiles.krd.sh/get | sh -s - https://github.com/rockdrilla/dotfiles (mirror)
```
or
```sh
wget -q -O - https://dotfiles.krd.sh/get | sh -s
```
## contents ## contents
@ -22,6 +15,56 @@ wget -q -O - https://dotfiles.krd.sh/get | sh -s
files are stored in separate branch (`main`) files are stored in separate branch (`main`)
## installation
- install dotfiles (select preferred variant):
- with `curl`:
- default URI:
```sh
curl -sSL https://dotfiles.krd.sh/get | sh -s
```
- explicit fallback to Github:
```sh
curl -sSL https://github.com/rockdrilla/dotfiles/raw/main/.config/dotfiles/install.sh | sh -s
```
- with `wget`:
- default URI:
```sh
wget -q -O - https://dotfiles.krd.sh/get | sh -s
```
- explicit fallback to Github:
```sh
wget -q -O - https://github.com/rockdrilla/dotfiles/raw/main/.config/dotfiles/install.sh | sh -s
```
- with `apt-helper` (very last-resort):
- default URI:
```sh
/usr/lib/apt/apt-helper download-file https://dotfiles.krd.sh/get "${HOME}/dotfiles.install.sh"
sh "${HOME}/dotfiles.install.sh" ; rm -f "${HOME}/dotfiles.install.sh"
```
- explicit fallback to Github:
```sh
/usr/lib/apt/apt-helper download-file https://github.com/rockdrilla/dotfiles/raw/main/.config/dotfiles/install.sh "${HOME}/dotfiles.install.sh"
sh "${HOME}/dotfiles.install.sh" ; rm -f "${HOME}/dotfiles.install.sh"
```
- switch shell to `zsh`:
```sh
chsh -s /bin/zsh
```
## license ## license
BSD 3-Clause BSD 3-Clause