Skip to content

Commit 02099b8

Browse files
cd: don't automatically tilde expand (see #1136 for discussion)
1 parent 31a4de6 commit 02099b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/file.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function cwd()
169169
cstring(p)
170170
end
171171

172-
cd(dir::String) = system_error("chdir", ccall(:chdir,Int32,(Ptr{Uint8},),tilde_expand(dir)) == -1)
172+
cd(dir::String) = system_error("chdir", ccall(:chdir,Int32,(Ptr{Uint8},),dir) == -1)
173173
cd() = cd(ENV["HOME"])
174174

175175
# do stuff in a directory, then return to current directory

0 commit comments

Comments
 (0)