diff --git a/README.md b/README.md index b068ec1..30cc4a8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## steps -1) set the fqdn (this is necessary for some of the host-specific chezmoi config): +(1) set the fqdn (this is necessary for some of the host-specific chezmoi config): ```bash # debian standalone @@ -24,7 +24,7 @@ sudo scutil --set ComputerName $MY_HOSTNAME dscacheutil -flushcache # maybe reboot, too? ``` -2) set up the package manager and bootstrap dependencies: +(2) set up the package manager and bootstrap dependencies: ```bash # debian @@ -37,7 +37,7 @@ xcode-select --install # TODO: is there a reasonable unattended install workflow for macports? ``` -3) set the initial shell: +(3) set the initial shell: ```bash # debian @@ -47,13 +47,13 @@ chsh -s $(which zsh) # NA ``` -4) install a patched font, [Anonymice Pro](https://www.nerdfonts.com/font-downloads). +(4) install a patched font, [Anonymice Pro](https://www.nerdfonts.com/font-downloads). - wsl: size 11 - macos: size 16 or 17, no anti-aliasing -5) install `age` private key from password manager into `~/.key.txt` +(5) install `age` private key from password manager into `~/.key.txt` -6) bootstrap chezmoi: +(6) bootstrap chezmoi: ```bash sh -c "$(curl -fsLS get.chezmoi.io)" -- \ @@ -63,7 +63,7 @@ sh -c "$(curl -fsLS get.chezmoi.io)" -- \ --guess-repo-url=false ``` -7) set the new shell (in case installing from 3rd-party package manager): +(7) set the new shell (in case installing from 3rd-party package manager): ```bash # debian @@ -73,7 +73,7 @@ sh -c "$(curl -fsLS get.chezmoi.io)" -- \ sudo chpass -s '/opt/local/bin/zsh' $USER ``` -8) install miniconda: +(8) install miniconda: ```bash # debian @@ -87,12 +87,9 @@ chmod +x miniconda.sh sudo ./miniconda.sh -b -u -p /opt/miniconda3 ``` -9) set up non-automated software and tools: +(9) set up non-automated software and tools: - steermouse (license in email): btn4==fwd, btn5==bck - logitech control center - lunar - magnet -- rust (don't use a package manager for this) - - rust-analyzer (`rustup component add rust-analyzer`) -- gwar (`git clone ssh://git@pingo.thermokar.st/gwar && cd gwar && cargo build --release && cp target/release/gwar ~/bin`) diff --git a/home/run_once_02install-rust.sh.tmpl b/home/run_once_02install-rust.sh.tmpl index e3e7dec..86240e9 100644 --- a/home/run_once_02install-rust.sh.tmpl +++ b/home/run_once_02install-rust.sh.tmpl @@ -5,5 +5,5 @@ set -e curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh chmod u+x /tmp/rustup.sh /tmp/rustup.sh -y --no-modify-path -source $HOME/.cargo/env +. $HOME/.cargo/env rustup update stable