#!/usr/bin/env bash # Set up zsh on a local VM # This has to be run (somehow) from the local host mkdir ~/.zshrc.d sudo mkdir /mnt/vmshare sudo chown tracey:tracey /mnt/vmshare sudo echo 'vmshare /mnt/vmshare virtiofs rw,x-systemd.automount,relatime 0 0' | sudo tee -a /etc/fstab &&\ systemctl daemon-reload && sudo mount vmshare cp /mnt/vmshare/.aliases ~/ cp /mnt/vmshare/.bashrc ~/ cp /mnt/vmshare/.bash_profile ~/ cp /mnt/vmshare/.zshrc ~/ cp /mnt/vmshare/.zsh_tlc ~/