Эх сурвалжийг харах

Suppress error messages from `which` command

Junegunn Choi 11 жил өмнө
parent
commit
115a25de79
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -725,7 +725,7 @@ function! s:update_parallel(pull, todo, threads)
 
   def killall pid
     pids = [pid]
-    unless `which pgrep`.empty?
+    unless `which pgrep 2> /dev/null`.empty?
       children = pids
       until children.empty?
         children = children.map { |pid|