summary refs log tree commit diff stats
path: root/hooks
diff options
context:
space:
mode:
authorAlan Pearce2017-03-24 21:22:27 +0100
committerAlan Pearce2017-03-24 21:22:27 +0100
commitbbb26322199d41171595bff6d073bda1fa1fa62c (patch)
tree799f160f60327a1b026fd9f4065636e611ccafb0 /hooks
parent0c4343e413bbc922954b417a639c60dfa007a0da (diff)
parent53f50286e177abb9d1ac4a7c239dcbcc3fed63b7 (diff)
downloadnixfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.lz
nixfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.tar.zst
nixfiles-bbb26322199d41171595bff6d073bda1fa1fa62c.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/post-up/emacs17
-rwxr-xr-xhooks/post-up/zsh29
2 files changed, 0 insertions, 46 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs
deleted file mode 100755
index 05a5c9d1..00000000
--- a/hooks/post-up/emacs
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-EMACS_COMMAND=$(command -v Emacs || command -v emacs)
-
-if [[ -s $EMACS_COMMAND ]]
-then
-  pushd ~/.emacs.d
-  emacs --batch --eval "(progn
-(setq vc-follow-symlinks nil)
-(find-file \"init.org\")
-(require 'ob-tangle)
-(org-babel-tangle nil \"init.el\")
-(byte-compile-file \"init.el\")
-(load-file \"init.el\")
-)"
-  popd
-fi
diff --git a/hooks/post-up/zsh b/hooks/post-up/zsh
deleted file mode 100755
index 3eef6e51..00000000
--- a/hooks/post-up/zsh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env zsh
-ZDOTDIR="${XDG_CONFIG_HOME:=~/.config}/zsh"
-
-pushd $ZDOTDIR
-for f in z*(-.)
-do
-  if [[ -e .$f ]]
-  then
-    if [[ ! -h .$f ]]
-    then
-      echo ".$f already exists as a regular file, ignoring"
-    fi
-  else
-    ln -s $f .$f
-  fi
-done
-popd
-
-if [[ ! -d ~/.cache/zsh ]]
-then
-  mkdir -p ~/.cache/zsh
-fi
-
-if [[ -z $commands[zplug] && ! -d ~/projects/zplug/ ]]
-then
-  git clone git://github.com/zplug/zplug ~/projects/zplug/
-fi
-
-zsh -ic "zplug install"