JuliaLang / Pkg.jl

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

`expanduser` can fail causing a REPL error in completion #3908

Open KristofferC opened 1 month ago

KristofferC commented 1 month ago
(WAV) pkg> dev ~.┌ Error: Error in the keymap
│   exception =
│    ArgumentError: ~user tilde expansion not yet implemented
│    Stacktrace:
│      [1] expanduser(path::String)
│        @ Base.Filesystem ./path.jl:529
│      [2] complete_local_dir(s::String, i1::Int64, i2::Int64)
│        @ REPLExt ~/julia1.11/usr/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:30
│      [3] complete_add_dev(options::Dict{Symbol, Any}, partial::String, i1::Int64, i2::Int64)
│        @ REPLExt ~/julia1.11/usr/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/completions.jl:150