Browse Source

Added helper copy script

master
Macoy Madson 1 year ago
parent
commit
4f13584e24
  1. 15
      Emacs/install.sh

15
Emacs/install.sh

@ -0,0 +1,15 @@
#!/bin/sh
echo -n "Overwrite ~/.emacs (do NOT do if you've already got one) (y/n)? "
read answer
# if echo "$answer" | grep -iq "^y" ;then
if [ "$answer" != "${answer#[Yy]}" ] ;then
echo Yes
cp dotEmacs.el ~/.emacs
else
echo No
fi
echo ';;' >> ~/.emacs-this-machine-only.el
emacs
Loading…
Cancel
Save