mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-26 12:47:55 +08:00

PWD is not set in fish vars because it is read only. Use getenv() to fetch it, allowing fish to inherit a virtual PWD. Fixes #5525
24 lines
270 B
Plaintext
24 lines
270 B
Plaintext
|
|
####################
|
|
# cd symlink non-resolution
|
|
|
|
####################
|
|
# cd symlink completion
|
|
ls:
|
|
../b1
|
|
../b2
|
|
../b3
|
|
../d1/
|
|
../d2/
|
|
../d3/
|
|
../glass/
|
|
cd:
|
|
../a1/
|
|
../a2/
|
|
../a3/
|
|
../rabbithole/
|
|
|
|
####################
|
|
# Virtual PWD inheritance
|
|
PWD is /tmp/cdcomp_test/linkhome
|