1
0
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:
Kris Maglione
2008-12-11 20:28:50 -05:00
parent 71ae1b91f6
commit 1ff8bf65bc

View File

@@ -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");