]> arthur.barton.de Git - ax-zsh.git/blobdiff - bin/axzshctl
Integrate support for Powerlevel10k, including "instant prompt"
[ax-zsh.git] / bin / axzshctl
index efc8a982f3d939f00ef8c13dc632c9067728046a..05062bd346c02c636bcc747de96a8c1ce654e028 100755 (executable)
@@ -220,6 +220,10 @@ function EnableDefaultPlugins {
 function SetTheme {
        local link_name="$AXZSH/active_theme"
 
+       # --- Powerlevel10k ---
+       # Remove "instant prompt" configuration, if any ...
+       rm -f "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
+
        if [[ "$1" = "-" ]]; then
                rm -f "$link_name" || return 1
                ax_msg 0 "Theme settings have been reset."