Skip to content
This repository
Browse code

dump completion stderr to /dev/null

  • Loading branch information...
commit f50409ed8d63df4d2d41eb457dd016193a3f649d 1 parent a07c3cf
Isaac Z. Schlueter authored March 21, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/utils/completion.sh
4  lib/utils/completion.sh
@@ -18,7 +18,7 @@ if complete &>/dev/null; then
18 18
                            COMP_LINE="$COMP_LINE" \
19 19
                            COMP_POINT="$COMP_POINT" \
20 20
                            npm completion -- "${COMP_WORDS[@]}" \
21  
-                           2>npm-completion.log)) || return $?
  21
+                           2>/dev/null)) || return $?
22 22
     IFS="$si"
23 23
   }
24 24
   complete -F _npm_completion npm
@@ -34,7 +34,7 @@ elif compctl &>/dev/null; then
34 34
                        COMP_LINE="$line" \
35 35
                        COMP_POINT="$point" \
36 36
                        npm completion -- "${words[@]}" \
37  
-                       2>npm-completion.log)) || return $?
  37
+                       2>/dev/null)) || return $?
38 38
     IFS="$si"
39 39
   }
40 40
   compctl -K _npm_completion npm

0 notes on commit f50409e

Please sign in to comment.
Something went wrong with that request. Please try again.