mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
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:
parent
616cd38d8e
commit
203061292f
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue