Explorar el Código

g:startify_use_env: ignore $HOME

References #284.
Marco Hinz hace 8 años
padre
commit
ae8cfbb9db
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      autoload/startify.vim

+ 5 - 1
autoload/startify.vim

@@ -898,7 +898,11 @@ endfunction
 " Function: s:init_env {{{1
 function! s:init_env()
   let s:env = []
-  let ignore = { 'PWD': 1, 'OLDPWD': 1 }
+  let ignore = {
+        \ 'HOME':   1,
+        \ 'OLDPWD': 1,
+        \ 'PWD':    1,
+        \ }
 
   function! s:get_env()
     redir => s