Skip to content

Commit

Permalink
refactor(op): deprecate ours in favor of upstream >= 1.2.0 generated one
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Mar 7, 2021
1 parent bea218a commit 4d8e152
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ bashcomp_DATA = 2to3 \
nsupdate \
ntpdate \
oggdec \
op \
_op \
openssl \
opera \
optipng \
Expand Down
3 changes: 3 additions & 0 deletions completions/op → completions/_op
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# op (1Password CLI) completion -*- shell-script -*-

# Use of this file is deprecated. Upstream op >= 1.2.0 can output a completion
# for itself using "op completion", use that instead.

_op_commands()
{
"$@" --help 2>/dev/null |
Expand Down

0 comments on commit 4d8e152

Please sign in to comment.