mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 06:53:39 +08:00
14 lines
208 B
Fish
14 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
|