author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 26 Apr 2010 17:04:33 +0300 | |
changeset 387 | 7340a863ae23 |
parent 386 | 3efe37437745 |
child 503 | 743de44a5431 |
permissions | -rwxr-xr-x |
#!/bin/sh if [ -z "$1" ]; then echo "Where config file?" exit 1 fi cfg=$1 if which aspell; then echo >>$cfg echo "(setq-default ispell-program-name \"aspell\")" >>$cfg echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg elif which ispell; then echo >>$cfg echo "(setq-default ispell-program-name \"ispell\")" >>$cfg echo "(setq-default ispell-local-dictionary \"english\")" >>$cfg fi