mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -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 -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
|
||||
|
||||
Reference in New Issue
Block a user