.homeinit: fix.

master
Pierre Neidhardt 2013-01-09 21:23:05 +01:00
parent bdb2c53192
commit 50560f9610
1 changed files with 3 additions and 2 deletions

View File

@ -22,9 +22,10 @@ SOURCEDIR="${HOME}/personal/dataperso"
## Emacsclient launcher. Required for best emacsclient integration. For a fully
## functional daemon, you should write a file like this and set 'EDITOR=em'.
if [ ! -f /bin/em ]; then
if [ -f /bin/em ]; then
echo "==> Emacs"
sudo sh -c "echo '#!/bin/sh
emacsclient -a \"\" -t \"\$@\"' > '/bin/em'"
emacsclient -a \"\" -t \"\$@\"' > '/bin/em'; chmod 755 /bin/em"
fi
## Mutt