mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
prompt_pwd: stop clobbering global/universal fish_prompt_pwd_full_dirs
Closes #9123
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user