mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
dfa61926e8
PWD is not set in fish vars because it is read only. Use getenv() to fetch it, allowing fish to inherit a virtual PWD. This cherry pick includes both:24f251e04
Correctly remove the test directory again in cd test91a9c9897
Correctly 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
|