mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 22:58:46 +00: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.
31 lines
436 B
Text
31 lines
436 B
Text
|
|
####################
|
|
# 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
|