diff options
Diffstat (limited to 'completions/p4')
-rw-r--r-- | completions/p4 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/completions/p4 b/completions/p4 index d18b679d..40fb6f58 100644 --- a/completions/p4 +++ b/completions/p4 @@ -1,7 +1,5 @@ # Perforce completion by Frank Cusack <frank@google.com> -have p4 || return - _p4() { local cur prev words cword @@ -10,7 +8,7 @@ _p4() local p4commands p4filetypes # rename isn't really a command - p4commands="$( p4 help commands | awk 'NF>3 {print $1}' )" + p4commands="$( p4 help commands 2>/dev/null | awk 'NF>3 {print $1}' )" p4filetypes="ctext cxtext ktext kxtext ltext tempobj ubinary \ uresource uxbinary xbinary xltext xtempobj xtext \ text binary resource" |