Created
September 11, 2020 18:23
-
-
Save zzamboni/eaa289dd7ea746717a2aee6f258cc717 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple script I used to alternate between my old Emacs config and Doom, while I was migrating my setup.