]> gitweb.factorcode.org Git - factor.git/commit
io.pathnames: Revised ~ support to expand on the first tilde, and not on "~/".
authorotoburb <otoburb@gmail.com>
Wed, 11 Jan 2012 02:25:53 +0000 (02:25 +0000)
committerotoburb <otoburb@gmail.com>
Wed, 11 Jan 2012 02:36:47 +0000 (02:36 +0000)
commitdc11f2d7a27ccbc726327282ca949b7bd2be9a08
treed3a8988ff7df05cc0104413c8b21d53b0208c8e5
parenta5e8cc75b9263c0825d49acff30c0ec09e5e6afa
io.pathnames: Revised ~ support to expand on the first tilde, and not on "~/".

This mimics the same behaviour as "ls ~" in the shell, which expands the alias
as a directory, and not as a filename. For the specific edge-case where a
filename called "~" must have a path constructed to it (e.g. "./~" or "~/~").
core/io/pathnames/pathnames-docs.factor
core/io/pathnames/pathnames-tests.factor
core/io/pathnames/pathnames.factor