all repos — archive/dotfiles @ 2e96e919e9cff6c70564908ebe2d8fa887680fae

Superseded by nixfiles

RCM: Detect Emacs Cask by folder existance
Alan Pearce alan@alanpearce.co.uk
Sat, 18 Jul 2015 21:38:39 +0200
commit

2e96e919e9cff6c70564908ebe2d8fa887680fae

parent

e989bb41e34eeba711047a0263cbfb224bb4beee

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M hooks/post-up/emacshooks/post-up/emacs
@@ -2,7 +2,7 @@ #!/usr/bin/env zsh 
 if [[ -s $commands[emacs] ]]
 then
-	if [[ -z $commands[cask] ]]
+	if [[ ! -d ~/cask ]]
 	then
 		git clone git://github.com/cask/cask ~/.cask
 		if [[ ! -d ~/bin ]]