JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
609 stars 251 forks source link

REPL completions with `~` have incorrect offset #3914

Open staticfloat opened 3 weeks ago

staticfloat commented 3 weeks ago

If I type dev ~/.jul, it tries to auto-expand to /Users/sabae/.julia, but uses the wrong offset because of expanduser() turning ~ into /Users/sabae:

image

This is happening with Pkg ed7a8dca87fa58d80053abf68fb7dfefa54d554e

IanButterworth commented 3 weeks ago

Ah yes. Needs something similar to https://github.com/JuliaLang/julia/pull/54311