mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 05:34:14 +01:00
s/VIMPERATOR(_HOME)/config.name + \1/
This commit is contained in:
@@ -413,7 +413,7 @@ function IO() //{{{
|
||||
// expand "~" to VIMPERATOR_HOME or HOME (USERPROFILE or HOMEDRIVE\HOMEPATH on Windows if HOME is not set)
|
||||
if (/^~/.test(path))
|
||||
{
|
||||
let home = environmentService.get("VIMPERATOR_HOME");
|
||||
let home = environmentService.get(config.name.toUpperCase() + "_HOME");
|
||||
|
||||
if (!home)
|
||||
home = environmentService.get("HOME");
|
||||
|
||||
Reference in New Issue
Block a user