From 68b2e9e629557d2e5c4ae227fbec038e2839d09c Mon Sep 17 00:00:00 2001 Message-Id: <68b2e9e629557d2e5c4ae227fbec038e2839d09c.1718305153.git.mdw@distorted.org.uk> From: Mark Wooding Date: Thu, 1 Apr 2010 19:14:54 +0100 Subject: [PATCH] setup, bin/aspell-hack, dot/emacs: Make `aspell' start in $HOME. Organization: Straylight/Edgeware From: Mark Wooding Otherwise it starts in some random directory and maybe stops me unmounting removable media. Bug reported to Debian. --- bin/aspell-hack | 2 ++ dot/emacs | 2 +- setup | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 bin/aspell-hack diff --git a/bin/aspell-hack b/bin/aspell-hack new file mode 100755 index 0000000..0283417 --- /dev/null +++ b/bin/aspell-hack @@ -0,0 +1,2 @@ +#! /bin/sh +set -e; cd; exec aspell "$@" diff --git a/dot/emacs b/dot/emacs index 65f558f..c53cdaa 100644 --- a/dot/emacs +++ b/dot/emacs @@ -237,7 +237,7 @@ (setq password-cache-expiry nil) (setq-default proced-filter 'all proced-sort 'user) -(setq ispell-program-name "aspell" +(setq ispell-program-name "aspell-hack" ispell-local-dictionary "en_GB-ize-w_accents" flyspell-default-dictionary "en_GB-ize-w_accents" ispell-silently-savep t) diff --git a/setup b/setup index 162ede5..abf2e24 100755 --- a/setup +++ b/setup @@ -215,6 +215,7 @@ scripts=" mdw-build emacsclient-hack movemail-hack + aspell-hack emerge-hack lesspipe.sh start-ssh-agent -- [mdw]