From: Andreas Gerler Date: Sat, 25 Oct 2014 15:19:17 +0000 (+0200) Subject: added make_emacsconfig.sh to make using this emacs configuration a little bit easier. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=f8ba5d240d1f784638b3f5bb94d7aba66ea3140d;p=emacsconfig.git added make_emacsconfig.sh to make using this emacs configuration a little bit easier. Signed-off-by: Andreas Gerler --- diff --git a/make_emacsconfig.sh b/make_emacsconfig.sh new file mode 100644 index 00000000..e7b6b009 --- /dev/null +++ b/make_emacsconfig.sh @@ -0,0 +1,61 @@ +#!/bin/bash +:<<=cut +=pod + +=head1 NAME + +make_emacsconfig.sh - initialize .emacs.d and keep it up to date. + +=head1 DESCRIPTION + +create .emacs and .emacs.d based on http://git.bundesbrandschatzamt.de/emacsconfig.git +if .emacs and .emacs.d exists fetch git.bundesbrandschatzamt.de emacs config. + + +=cut + +if [ ! -e ${HOME}/.emacs.d ]; then + git clone http://git.bundesbrandschatzamt.de/emacsconfig.git ${HOME}/.emacs.d + cat >${HOME}/.emacs < + +=head1 LICENSE + +This program is free software, you can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut