mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 05:35:41 +02:00
s/VIMPERATOR(_HOME)/config.name + \1/
This commit is contained in:
1 parent
71ae1b91f6
commit
1ff8bf65bc
1 file changed
+1
-1
@@ -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