From 7fb4b7c8bd9aaadd0316ff90cd4a32cefbd74390 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 7 Aug 2022 20:23:45 +0200 Subject: [PATCH] prompt_pwd: stop clobbering global/universal fish_prompt_pwd_full_dirs Closes #9123 --- share/functions/prompt_pwd.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/prompt_pwd.fish b/share/functions/prompt_pwd.fish index f75f0dc0b..96acc3326 100644 --- a/share/functions/prompt_pwd.fish +++ b/share/functions/prompt_pwd.fish @@ -19,7 +19,7 @@ function prompt_pwd --description 'short CWD for the prompt' set -l fulldirs 0 set -ql _flag_D - and set fish_prompt_pwd_full_dirs $_flag_D + and set -l fish_prompt_pwd_full_dirs $_flag_D set -q fish_prompt_pwd_full_dirs or set -l fish_prompt_pwd_full_dirs 1