The functionality is there, but it's not enabled by default:

julia> readdir(expanduser("~"))
84-element Array{Union(UTF8String,ASCIIString),1}:
 ⋮

See issue #1136 <https://github.com/JuliaLang/julia/issues/1136> for 
details on why this isn't enabled (yet).  I'd like this, too.

On Monday, May 5, 2014 5:38:02 PM UTC-4, dodonix wrote:
>
> Is there a way to reference the user's home directory without specifying 
> an explicit path? For example, I would like the following to list the 
> contents of my home directory instead of the error message shown:
>
> julia> readdir("~")
>> ERROR: Unable to read directory ~.
>>  in readdir at file.jl:172
>
>
>  This would be a convenient feature. 
>

Reply via email to