fish_prompt_pwd_full_dirs
variable gets reset to 1
every time a prompt appears
#9123
Labels
bug
Something that's not working as intended
Milestone
The behavior is as follows (at current
master
):What's going on is that
prompt_pwd
incorrectly sets the global variable instead of the local one when using flags:fish-shell/share/functions/prompt_pwd.fish
Lines 14 to 25 in deec78c
See lines 15 and 22. The fix would be to set the local instead:
Sidenote - the variable is changed every time a prompt appears, because
prompt_pwd
is called infish_title
:fish-shell/share/functions/fish_title.fish
Line 11 in deec78c
The text was updated successfully, but these errors were encountered: