Skip to content

Commit

Permalink
Add password completion to "edit" subcommand in zsh. (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamheins authored and dominikschulz committed Feb 15, 2018
1 parent fc06496 commit f5ae02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/completion/zsh/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _{{ $prog }} () {
{{- end }}
{{ if .Flags }}_arguments :{{ range .Flags }} "{{ . | formatFlag }}"{{ end }}{{ end }}
_describe -t commands "{{ $prog }} {{ .Name }}" subcommands
{{ if or (eq .Name "copy") (eq .Name "move") (eq .Name "delete") (eq .Name "show") }}_{{ $prog }}_complete_passwords{{ end -}}
{{ if or (eq .Name "copy") (eq .Name "move") (eq .Name "delete") (eq .Name "show") (eq .Name "edit") }}_{{ $prog }}_complete_passwords{{ end -}}
;;
{{- end }}
*)
Expand Down

0 comments on commit f5ae02c

Please sign in to comment.