diff --git a/emacs.el b/emacs.el index 70b6a67..a0b9178 100644 --- a/emacs.el +++ b/emacs.el @@ -1,4 +1,3 @@ -;; load another file ;; (and (file-readable-p "~/.dotfiles/emacs.el") ;; (load-file "~/.dotfiles/emacs.el")) diff --git a/setup.sh b/setup.sh index 8b0bc2c..c01fa0f 100755 --- a/setup.sh +++ b/setup.sh @@ -58,6 +58,12 @@ _my_git_config(){ fi } +_gen_source_script(){ + # _gen_source_script file lines + test $# -eq 2 || return 1 + head -n $2 $1 | \grep -v '^#!' | sed -e 's/^..//g' +} + _my_install_script http://www.frexx.de/xterm-256-notes/data/colortable16.sh http://www.frexx.de/xterm-256-notes/data/256colors2.pl type git >/dev/null 2>&1 && _my_git_config