Remove unused "__fish_prompt_cwd" variable

The repaint handler erased a variable that was just a dumb cache when `set_color` wasn't a builtin.

It was removed in 3f11d90744 in 2014.
This commit is contained in:
Fabian Homborg 2020-08-07 17:56:32 +02:00
parent 616cd38d8e
commit 203061292f

View file

@ -140,7 +140,6 @@ function __fish_config_interactive -d "Initializations that should be performed
end
function __fish_repaint $varargs -d "Event handler, repaints the prompt when fish_color_cwd* changes"
if status --is-interactive
set -e __fish_prompt_cwd
commandline -f repaint 2>/dev/null
end
end