diff options
| author | codesoap <codesoap@mailbox.org> | 2019-06-10 18:25:51 +0200 |
|---|---|---|
| committer | codesoap <codesoap@mailbox.org> | 2019-06-10 18:25:51 +0200 |
| commit | 683c7c1fa53350411922f06fe5f0f27902b51e3e (patch) | |
| tree | ed031cb7c50ccc59fe853e5f1ac3e17969d72bff /rc/tools/python | |
| parent | 9ca9d40c03add0de335cc90e6a055f2972c04b91 (diff) | |
Fix fifos for Linux
Those were accidentaly broken while fixing for OpenBSD.
Diffstat (limited to 'rc/tools/python')
| -rw-r--r-- | rc/tools/python/jedi.kak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/tools/python/jedi.kak b/rc/tools/python/jedi.kak index 05b41598..14acbf32 100644 --- a/rc/tools/python/jedi.kak +++ b/rc/tools/python/jedi.kak @@ -19,7 +19,7 @@ define-command jedi-complete -docstring "Complete the current selection" %{ evaluate-commands %sh{ dir=${kak_opt_jedi_tmp_dir} printf %s\\n "evaluate-commands -draft %{ edit! -fifo ${dir}/fifo *jedi-output* }" - {( + (( cd $(dirname ${kak_buffile}) header="${kak_cursor_line}.${kak_cursor_column}@${kak_timestamp}" @@ -32,7 +32,7 @@ define-command jedi-complete -docstring "Complete the current selection" %{ ) printf %s\\n "evaluate-commands -client ${kak_client} %~echo completed; set-option %{buffer=${kak_buffile}} jedi_completions ${header} ${compl}~" | kak -p ${kak_session} rm -r ${dir} - ) & } > /dev/null 2>&1 < /dev/null + ) & ) > /dev/null 2>&1 < /dev/null } } |
