Browse code

mac os fix

fox authored on 24/07/2011 at 09:58:41
Showing 1 changed files
... ...
@@ -20,7 +20,7 @@ function noyes() {
20 20
 
21 21
 function theme_preview() {
22 22
     THEME=$1
23
-    export ZDOTDIR="$(mktemp -d)"
23
+    export ZDOTDIR="$(mktemp -d tmp.zshXXXX)"
24 24
 
25 25
 cat <<-EOF >"$ZDOTDIR/.zshrc"
26 26
     source ~/.zshrc