mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 06:41:42 +08:00
b86200938f
Nobody doesn't want to use $PWD to cd, so if $CDPATH does not include it that was a mistake. Bash also appends "." here. Fixes #4484.
32 lines
436 B
Plaintext
32 lines
436 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
|
|
BogusPWD test 1 succeeded
|
|
BogusPWD test 2 succeeded
|
|
|
|
####################
|
|
# CDPATH
|
|
Gone to linkhome via CDPATH
|
|
Gone to base
|
|
Gone to linkhome via implicit . in CDPATH
|