Failed to `cd` in Julia REPL's shell mode on fish shell

Failed to chage directory in shell mode. ls or other commands work fine.

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.0 (2018-08-08)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(v1.0) pkg> generate TestPackage
Generating project TestPackage:
    TestPackage/Project.toml
    TestPackage/src/TestPackage.jl

shell> cd TestPackage
ERROR: IOError: chdir 252: no such file or directory (ENOENT)
Stacktrace:
 [1] uv_error at ./libuv.jl:85 [inlined]
 [2] cd(::String) at ./file.jl:76
 [3] repl_cmd(::Cmd, ::REPL.Terminals.TTYTerminal) at ./client.jl:61
 [4] top-level scope at none:0

shell> ls
TestPackage

julia>

Does anyone have same behavior?

What OS?

On macOS. I set my shell to fish.