From 3ae6695e201554af5a9d08f928c8317b8a0c0b1d Mon Sep 17 00:00:00 2001 From: demize Date: Sat, 20 Apr 2024 19:55:06 -0400 Subject: [PATCH] Make a couple other variables function-scoped --- functions/fish_prompt.fish | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 61bd974..8248df7 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -1046,11 +1046,11 @@ function __bobthefish_prompt_fossil -S -a fossil_root_dir -a real_pwd -d 'Displa switch $line case ADDED UPDATED EDITED DELETED RENAMED # These can really just all be dirty, then - set dirty $git_dirty_glyph + set -f dirty $git_dirty_glyph case EXTRA - set new $git_untracked_glyph + set -f new $git_untracked_glyph case CONFLICT - set conflict '!' + set -f conflict '!' end end