Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 1016 Bytes

README.md

File metadata and controls

42 lines (37 loc) · 1016 Bytes

This is a manifest for dotfiles and other scripts for quickly making a new system like home and managing updates.

grep -q github[.]com ~/.ssh/config ||
cat << EOF >> ~/.ssh/config

Host github.com
    HostName github.com
    IdentityFile ~/.ssh/github
EOF
set -xe
git config --global user.email ||
    git config --global user.email "[email protected]"
git config --global user.name ||
    git config --global user.name "Vladislav Ivanishin"
cd
repo init -u [email protected]:ivladak/manifest.git --config-name
repo sync
repo forall -c 'git checkout $REPO_RREV'
repo init --config-name
set +xe

Further information can be found on the official git-repo page.

Short link to this readme (raw): https://bit.ly/3VUPV7A

wget -O- https://raw.githubusercontent.com/ivladak/manifest/main/README.md |
    tee >(cat >&2) |
    sed -n '
        /^```/ {
            h;n
        }
        /^set +x/ {
            H;x;p;n;Q
        }
        H' | grep -v '^```' |
    bash -