From: martin f. krafft Date: Wed, 17 May 2017 13:38:23 +0000 (+0200) Subject: move prompt theme to separate dir X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/e7b57bc5c5383a6eac9b7d8d0af4f1c63723b948?ds=sidebyside move prompt theme to separate dir --- diff --git a/.zsh/func/prompt_madduck_setup b/.zsh/themes/prompt_madduck_setup similarity index 100% rename from .zsh/func/prompt_madduck_setup rename to .zsh/themes/prompt_madduck_setup diff --git a/.zsh/zshrc/99-prompt_setup b/.zsh/zshrc/99-prompt_setup index bc6181c..2dcf49f 100644 --- a/.zsh/zshrc/99-prompt_setup +++ b/.zsh/zshrc/99-prompt_setup @@ -8,7 +8,10 @@ # autoload -Uz promptinit +declare -la fpath_saved=($fpath) +fpath+=$ZDOTDIR/themes promptinit prompt madduck +fpath=($fpath_saved) # vim:ft=zsh