let s:root = '/tmp/inline.vim/'

function vimrc#inline#load(globpath) abort
  let path = s:root .. v:progname .. ($VIMCONF .. a:globpath)->substitute('[$*/]', '_', 'g') .. '.vim'
  if getftype(path) ==# 'file'
    execute 'source' path
  else
    call vimrc#inline#cache#load(a:globpath, path)
  endif
endfunction