Fishedotfiles
cd ~
curl -Lo dotfiles.zip https://github.com/pavolzbell/dotfiles/archive/master.zip
unzip dotfiles.zip
cd dotfiles-master
./bootstrap
cd ..
rm -rf dotfiles-master dotfiles.zip
./.brew
echo -e "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/fish
fish
set -U fish_user_paths /usr/local/opt/coreutils/libexec/gnubin $fish_user_paths
sudo ln -s /usr/local/bin/gsha256sum /usr/local/bin/sha256sum
brew pin fish readline
./.macos
syupdate
sudo reboot
set name "vulture"
sudo scutil --set ComputerName $name
sudo scutil --set HostName $name
sudo scutil --set LocalHostName $name
set domain "/Library/Preferences/SystemConfiguration/com.apple.smb.server"
sudo defaults write $domain NetBIOSName -string $name
- Check system integrity protection
csrutil status - Permit operations via
csrutil disablein recovery system (hold⌘ + Rafter restart) thenreboot - Check that
/private/var/vm/sleepimageis a zero-byte file which can not be rewritten - Check
defaults read NSGlobalDomain AppleFontSmoothingshould be2 - Check
defaults read NSGlobalDomain KeyRepeatshould be2 - Check
defaults read NSGlobalDomain InitialKeyRepeatshould be14 - Check
defaults read com.apple.dock tilesizeshould be34or48
brew pin elasticsearch@2.4 postgresql@9.5
- Configure Elasticsearch at
usr/local/etc/elasticsearch/elasticsearch.yml - Configure PostgreSQL at
/usr/local/var/postgres/postgresql.conf - Configure Redis at
/usr/local/etc/redis.conf - Check running services
brew services list - Open pgAdmin3 as current user then create a new role and reconnect via it, see
~/.pgpass
This software is released under the MIT License