Skip to content

Instantly share code, notes, and snippets.

@zzamboni
Created September 11, 2020 18:23
Show Gist options
  • Save zzamboni/eaa289dd7ea746717a2aee6f258cc717 to your computer and use it in GitHub Desktop.
Save zzamboni/eaa289dd7ea746717a2aee6f258cc717 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -d .emacs.d.mine ]; then
mv .emacs.d .emacs.d.doom
mv .emacs.d.mine .emacs.d
echo "Original .emacs.d is now in place"
else
mv .emacs.d .emacs.d.mine
mv .emacs.d.doom .emacs.d
echo "Emacs Doom .emacs.d is now in place"
fi
exa -ld .emacs.d*
@zzamboni
Copy link
Author

Simple script I used to alternate between my old Emacs config and Doom, while I was migrating my setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment