Issue with shell mode on 1.0

Shell mode seems to be broken on v1.0 when trying to do this:

shell> cd ~/.julia/config/
ERROR: IOError: chdir 3035: 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> cd ~/.julia
ERROR: IOError: chdir 3035: 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> cd /Users/adrian/.ju
.jupyter/      .julia_history  .juliarc.jl     .julia/
shell> cd /Users/adrian/.ju
.jupyter/      .julia_history  .juliarc.jl     .julia/
shell> cd /Users/adrian/.julia
ERROR: IOError: chdir 3035: 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

The folder is there, thank you very much:

 ~/.julia  cd                                                                               Sun Sep  2 22:34:59 2018
 ~  cd ~/.julia/                                                                            Sun Sep  2 22:35:08 2018
 ~/.julia  pwd                                                                              Sun Sep  2 22:35:15 2018
/Users/adrian/.julia
 ~/.julia  ls -lah                                                                          Sun Sep  2 22:35:22 2018
total 32
drwxr-xr-x   13 adrian  staff   416B Sep  2 22:23 .
drwxr-xr-x+  72 adrian  staff   2.3K Sep  2 22:30 ..
-rw-r--r--@   1 adrian  staff    14K Sep  2 22:23 .DS_Store
drwxr-xr-x  127 adrian  staff   4.0K Aug  7 10:23 .cache
drwxr-xr-x  127 adrian  staff   4.0K Aug 12 14:34 ____v0.6
drwxr-xr-x   34 adrian  staff   1.1K Aug 29 19:18 clones
drwxr-xr-x    5 adrian  staff   160B Sep  2 22:21 compiled
drwxr-xr-x    3 adrian  staff    96B Sep  2 22:23 config
drwxr-xr-x   14 adrian  staff   448B Aug 29 19:17 dev
drwxr-xr-x    5 adrian  staff   160B Sep  2 21:55 environments
drwxr-xr-x    4 adrian  staff   128B Jul  5 18:57 logs
drwxr-xr-x  168 adrian  staff   5.3K Aug 29 18:49 packages
drwxr-xr-x    4 adrian  staff   128B Sep  2 22:20 registries

Not sure if anything should be done about it, but I traced the problem to using the fish shell as the default shell. Seems to work fine with bash and zsh.


2 Likes

Thank you :slight_smile: