mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-03 19:33:33 +02: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)
|
// expand "~" to VIMPERATOR_HOME or HOME (USERPROFILE or HOMEDRIVE\HOMEPATH on Windows if HOME is not set)
|
||||||
if (/^~/.test(path))
|
if (/^~/.test(path))
|
||||||
{
|
{
|
||||||
let home = environmentService.get("VIMPERATOR_HOME");
|
let home = environmentService.get(config.name.toUpperCase() + "_HOME");
|
||||||
|
|
||||||
if (!home)
|
if (!home)
|
||||||
home = environmentService.get("HOME");
|
home = environmentService.get("HOME");
|
||||||
|
|||||||
Reference in New Issue
Block a user