From 6afe44a1f340acdd98f95f344d09355de5380d1c Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 6 Oct 2008 11:59:19 +0000 Subject: [PATCH] expand environment variables in arg to :cd --- content/io.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/io.js b/content/io.js index 60ab932a..6d0170c3 100644 --- a/content/io.js +++ b/content/io.js @@ -134,6 +134,8 @@ liberator.IO = function () //{{{ } } + args = liberator.io.expandPath(args); + // go directly to an absolute path or look for a relative path // match in 'cdpath' if (/^(~|\/|[a-z]:|\.\/|\.\.\/)/i.test(args))