mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
5e274066e3
Fixes #6220
13 lines
208 B
Fish
13 lines
208 B
Fish
# RUN: %fish %s
|
|
set -l tmp (mktemp -d)
|
|
cd $tmp
|
|
# resolve CDPATH (issue 6220)
|
|
begin
|
|
mkdir -p x
|
|
# CHECK: /{{.*}}/x
|
|
cd x; pwd
|
|
|
|
# CHECK: /{{.*}}/x
|
|
set -lx CDPATH ..; cd x; pwd
|
|
end
|
|
rm -rf $tmp
|