Add TODO branch ...
... for temporary and not publicly disclosed work
This commit is contained in:
parent
1c3bb35bde
commit
6186eaf0e6
2 changed files with 11 additions and 6 deletions
|
|
@ -17,7 +17,7 @@ XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
|||
|
||||
# Each branch's first commit sets the default to its own name
|
||||
# => Overridable via the environment (e.g., done by `dotfiles-update`)
|
||||
DOTFILES_BRANCH="${DOTFILES_BRANCH:-desktop}"
|
||||
DOTFILES_BRANCH="${DOTFILES_BRANCH:-TODO}"
|
||||
|
||||
DOTFILES_DIR="${DOTFILES_DIR:-$XDG_DATA_HOME/dotfiles}"
|
||||
DOTFILES_HTTPS="${DOTFILES_HTTPS:-https://code.webartifex.de/alexander/dotfiles}"
|
||||
|
|
|
|||
15
README.md
15
README.md
|
|
@ -1,3 +1,6 @@
|
|||
**Important**: You are on a temporary *TODO* branch with work in progress!
|
||||
|
||||
|
||||
# Dotfiles
|
||||
|
||||
This repository contains useful (config) files.
|
||||
|
|
@ -26,7 +29,7 @@ If I told you to go here and copy/paste my public `ssh` keys
|
|||
either [here](.ssh/authorized_keys_webartifex)
|
||||
or [here](https://code.webartifex.de/alexander.keys).
|
||||
|
||||
Read [this](https://code.webartifex.de/alexander/dotfiles/src/branch/desktop/.ssh#how-the-keys-are-managed)
|
||||
Read [this](https://code.webartifex.de/alexander/dotfiles/src/branch/TODO/.ssh#how-the-keys-are-managed)
|
||||
for how the keys are managed.
|
||||
|
||||
|
||||
|
|
@ -35,13 +38,13 @@ Read [this](https://code.webartifex.de/alexander/dotfiles/src/branch/desktop/.ss
|
|||
Simply run:
|
||||
|
||||
```sh
|
||||
curl https://code.webartifex.de/alexander/dotfiles/raw/branch/desktop/.local/bin/dotfiles-install > dotfiles-install && sh ./dotfiles-install && rm ./dotfiles-install
|
||||
curl https://code.webartifex.de/alexander/dotfiles/raw/branch/TODO/.local/bin/dotfiles-install > dotfiles-install && sh ./dotfiles-install && rm ./dotfiles-install
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
wget https://code.webartifex.de/alexander/dotfiles/raw/branch/desktop/.local/bin/dotfiles-install -O dotfiles-install && sh ./dotfiles-install && rm ./dotfiles-install
|
||||
wget https://code.webartifex.de/alexander/dotfiles/raw/branch/TODO/.local/bin/dotfiles-install -O dotfiles-install && sh ./dotfiles-install && rm ./dotfiles-install
|
||||
```
|
||||
|
||||
This downloads a simple [installation script](.local/bin/dotfiles-install)
|
||||
|
|
@ -66,9 +69,11 @@ Afterwards, the files can be managed with the
|
|||
[`dotfiles` alias](.config/shell/aliases),
|
||||
for example, `dotfiles status` or `dotfiles pull`.
|
||||
|
||||
The above commands install the *desktop* variant.
|
||||
The above commands install a temporary *TODO* variant.
|
||||
To install the *main* variant,
|
||||
switch to the [main](https://code.webartifex.de/alexander/dotfiles/src/branch/main) branch first.
|
||||
switch to the [main](https://code.webartifex.de/alexander/dotfiles/src/branch/main) branch, and
|
||||
to install the *desktop* variant,
|
||||
switch to the [desktop](https://code.webartifex.de/alexander/dotfiles/src/branch/desktop) branch.
|
||||
|
||||
Normally, I advise against executing shell scripts from the internet,
|
||||
but this one is still short enough to be read in a few minutes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue