diff --git a/bashrc b/bashrc index c6861a68..0a818791 100644 --- a/bashrc +++ b/bashrc @@ -319,6 +319,7 @@ alias http.debian.net="lynx http.debian.net/debian/project/trace/" # Amount of keys in GPG keyring. alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l" +alias gpg-key-count="gpg --export -a|gpg --import" # Allow custom aliases to be put in .aliases or .bash_aliases . diff --git a/zshrc b/zshrc index 436916ab..01c7b346 100644 --- a/zshrc +++ b/zshrc @@ -268,6 +268,7 @@ alias http.debian.net="lynx http.debian.net/debian/project/trace/" # Amount of keys in GPG keyring. alias gpg-key-amount="gpg --list-keys|grep '^pub'|wc -l" +alias gpg-key-count="gpg --export -a|gpg --import" # .aliases if [ -f ~/.aliases ]; then