bashrc & zshrc: add alias gpg-key-count to calcutate amounts of keys in keyring.

This is different from previous with following ways:
1. Simpler.
2. Works with Windows (?)
3. Takes more time.
This commit is contained in:
Mika Suomalainen 2012-07-25 11:00:52 +03:00
parent 19b8da78ac
commit 4059cb51a5
2 changed files with 2 additions and 0 deletions

1
bashrc
View File

@ -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 .

1
zshrc
View File

@ -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