mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
prompt_pwd: stop clobbering global/universal fish_prompt_pwd_full_dirs
Closes #9123
This commit is contained in:
parent
deec78cdd3
commit
7fb4b7c8bd
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function prompt_pwd --description 'short CWD for the prompt'
|
||||||
|
|
||||||
set -l fulldirs 0
|
set -l fulldirs 0
|
||||||
set -ql _flag_D
|
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
|
set -q fish_prompt_pwd_full_dirs
|
||||||
or set -l fish_prompt_pwd_full_dirs 1
|
or set -l fish_prompt_pwd_full_dirs 1
|
||||||
|
|
Loading…
Reference in a new issue