From a6e7465221b0ad713b1d2417881129d969b4644b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 26 Jun 2017 15:52:34 +0200 Subject: [PATCH] declare RPS1 in global scope --- .zsh/themes/prompt_madduck_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/themes/prompt_madduck_setup b/.zsh/themes/prompt_madduck_setup index 69cff73..100ce87 100644 --- a/.zsh/themes/prompt_madduck_setup +++ b/.zsh/themes/prompt_madduck_setup @@ -363,7 +363,7 @@ function make_rps1() { echo -n '%D{%d %H:%M:%S.%.}' echo } -RPS1=$(make_rps1) +typeset -g RPS1="$(make_rps1)" unfunction make_rps1 # vim:ft=zsh -- 2.39.2