Skip to content

Commit

Permalink
Silence GPG warnings about directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mqudsi committed Nov 4, 2024
1 parent d7f4ad7 commit 24a077f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/functions/__fish_complete_gpg.fish
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# impressive.

function __fish_complete_gpg -d "Internal function for gpg completion code deduplication" -a __fish_complete_gpg_command
if string match -q 'gpg (GnuPG) 1.*' ($__fish_complete_gpg_command --version)
if string match -q 'gpg (GnuPG) 1.*' ($__fish_complete_gpg_command --version 2>/dev/null)
complete -c $__fish_complete_gpg_command -l simple-sk-checksum -d 'Integrity protect secret keys by using a SHA-1 checksum'
complete -c $__fish_complete_gpg_command -l no-sig-create-check -d "Do not verify each signature right after creation"
complete -c $__fish_complete_gpg_command -l pgp2 -d "Set up all options to be as PGP 2.x compliant as possible"
Expand Down

0 comments on commit 24a077f

Please sign in to comment.