mirror of
https://github.com/amix/vimrc
synced 2025-07-17 09:05:01 +08:00
Add support for Coc.nvim.
This commit is contained in:
12
sources_non_forked/coc.nvim/bin/terminateProcess.sh
Executable file
12
sources_non_forked/coc.nvim/bin/terminateProcess.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
terminateTree() {
|
||||
for cpid in $(pgrep -P $1); do
|
||||
terminateTree $cpid
|
||||
done
|
||||
kill -9 $1 > /dev/null 2>&1
|
||||
}
|
||||
|
||||
for pid in $*; do
|
||||
terminateTree $pid
|
||||
done
|
||||
|
Reference in New Issue
Block a user