mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:42:27 +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
|
||||
// match in 'cdpath'
|
||||
if (/^(~|\/|[a-z]:|\.\/|\.\.\/)/i.test(args))
|
||||
|
||||
Reference in New Issue
Block a user