]> arthur.barton.de Git - ax-zsh.git/blobdiff - ax.zsh
Don't include theme into the cache, only the "source" command
[ax-zsh.git] / ax.zsh
diff --git a/ax.zsh b/ax.zsh
index 4387f8d532416d623c154fcc53dcfe9fdeba8181..a13707bd0bb4fe83b7437c0549985a9264f10bf3 100644 (file)
--- a/ax.zsh
+++ b/ax.zsh
@@ -185,7 +185,7 @@ else
                        if [[ -n "$cache_file" ]]; then
                                # Include the theme into the new cache file:
                                echo "# BEGIN Theme" >>"$cache_file"
-                               "$cat_cmd" "$AXZSH_THEME" >>"$cache_file"
+                               echo 'source "$AXZSH_THEME"' >>"$cache_file"
                                echo "# END Theme" >>"$cache_file"
                        fi
                fi