My Emacs config, and other editor settings
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
292 B

#!/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