jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
729 stars 73 forks source link

Fall back to `gpg2` if `gpg` is not available #55

Closed srstevenson closed 8 years ago

srstevenson commented 8 years ago

Implementation of the suggestion described in https://github.com/jamessan/vim-gnupg/issues/54#issuecomment-163925544.

jamessan commented 8 years ago

I'd prefer to keep gpg as the default, but I do agree that it's beneficial to see if gpg2 exists if gpg doesn't.

srstevenson commented 8 years ago

I've updated the commit to fall back to gpg2 only if gpg isn't found.

jamessan commented 8 years ago

Merged in c2ddc05