mkdir ~/.ssh
scp username@OtherMachineAddress:/mnt/user/username/Documents/.ssh/* ~/.ssh/
chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/*.pub
git clone git@github.com:BenSchmidtTech/dotfiles.git ~/repos/dotfiles/
Needs to be updated to check if running under WSL, and if so grab the correct profile name.
. ~/repos/dotfiles/create_symlinks.sh
If you have an older Emacs version you will need to purge it before proceeding:
sudo apt --purge remove emacs
sudo apt autoremove
Check that emacs version 27+ is available in your distro’s package repos:
sudo apt update
apt-cache policy emacs
If that isn’t Emacs27 or newer, then install it from Kevin Kelly’s PPA:
sudo add-apt-repository ppa:kelleyk/emacs
sudo apt install emacs27
Errors were encountered while processing:
/tmp/apt-dpkg-install-RVK8CA/064-emacs27-common_27.1~1.git86d8d76aa3-kk2+20.04_all.deb
run
sudo apt --purge remove emacs-common
sudo apt --fix-broken install
# Org Roam requires sqlite3.
sudo apt install sqlite3
# VTerm requirements:
sudo apt install cmake
sudo apt install libtool-bin
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
doom sync
emacs &
<spc> n r f