Skip to content

Commit

Permalink
Keep HOME env, or fish will raise warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xltan authored and tpope committed Apr 19, 2020
1 parent 3757dda commit fe6a343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/dispatch.vim
Expand Up @@ -328,7 +328,7 @@ function! dispatch#set_title(request) abort
endfunction

function! dispatch#isolate(request, keep, ...) abort
let keep = ['SHELL'] + a:keep
let keep = ['SHELL', 'HOME'] + a:keep
let command = ['cd ' . shellescape(getcwd())]
for line in split(system('env'), "\n")
let var = matchstr(line, '^\w\+\ze=')
Expand Down

0 comments on commit fe6a343

Please sign in to comment.