1
0
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:
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) // 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");