mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 01:42:31 +02:00
expand environment variables in arg to :cd
This commit is contained in:
1 parent
0c03963cf9
commit
6afe44a1f3
1 file changed
+2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user