prompt_pwd: stop clobbering global/universal fish_prompt_pwd_full_dirs

Closes #9123
This commit is contained in:
Johannes Altmanninger 2022-08-07 20:23:45 +02:00
parent deec78cdd3
commit 7fb4b7c8bd

View file

@ -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