macos prep
This commit is contained in:
parent
d20996f16a
commit
5caff09ee5
2 changed files with 37 additions and 6 deletions
22
README.md
22
README.md
|
@ -1,17 +1,37 @@
|
|||
# dotfiles
|
||||
|
||||
on debian machines, set the fqdn (this is necessary for some of the host-specific chezmoi config):
|
||||
set the fqdn (this is necessary for some of the host-specific chezmoi config):
|
||||
|
||||
```bash
|
||||
# debian
|
||||
sudo hostnamectl set-hostname $MY_HOSTNAME.local
|
||||
|
||||
# macos
|
||||
sudo scutil --set HostName $MY_HOSTNAME.local
|
||||
sudo scutil --set LocalHostName $MY_HOSTNAME
|
||||
sudo scutil --set ComputerName $MY_HOSTNAME
|
||||
dscacheutil -flushcache # maybe reboot, too?
|
||||
```
|
||||
|
||||
set the shell:
|
||||
|
||||
```bash
|
||||
# debian
|
||||
chsh -s $(which zsh)
|
||||
|
||||
# macos
|
||||
sudo chpass -s '/opt/local/bin/zsh' $USER
|
||||
```
|
||||
|
||||
set up the package manager:
|
||||
|
||||
```bash
|
||||
xcode-select --install
|
||||
# grab the pkg installer from: https://www.macports.org/install.php
|
||||
```
|
||||
|
||||
patched font, [Anonymice Pro](https://www.nerdfonts.com/font-downloads)
|
||||
|
||||
bootstrap chezmoi:
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue