1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48:00 +01:00

expand environment variables in arg to :cd

This commit is contained in:
Doug Kearns
2008-10-06 11:59:19 +00:00
parent 0c03963cf9
commit 6afe44a1f3

View File

@@ -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))