mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:52:26 +01:00
expand environment variables in arg to :cd
This commit is contained in:
@@ -134,6 +134,8 @@ liberator.IO = function () //{{{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args = liberator.io.expandPath(args);
|
||||||
|
|
||||||
// go directly to an absolute path or look for a relative path
|
// go directly to an absolute path or look for a relative path
|
||||||
// match in 'cdpath'
|
// match in 'cdpath'
|
||||||
if (/^(~|\/|[a-z]:|\.\/|\.\.\/)/i.test(args))
|
if (/^(~|\/|[a-z]:|\.\/|\.\.\/)/i.test(args))
|
||||||
|
|||||||
Reference in New Issue
Block a user