]> 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)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 31 Mar 2012 04:01:57 +0000 (21:01 -0700)
commit152c301d4954446356deef63ccdad4ffd9e2db63
tree0deb0277dee0eb9a5960d8b89eff873aa28129b8
parentcb6eb8b2bdad89d2de1e2ac11d8fa9aa32fc108d
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