bashrc & zshrc: add alias gpg-key-amount to show how many keys there are in pubring.

This commit is contained in:
Mika Suomalainen 2012-07-25 10:51:05 +03:00
parent cf2e8ae62a
commit 19b8da78ac
2 changed files with 6 additions and 0 deletions

3
bashrc
View File

@ -317,6 +317,9 @@ alias apt-key-refresh-keys="apt-key adv --keyserver pool.sks-keyservers.net --re
# To see which mirror http.debian.net puts you to. The file which has the latest update time is the mirror which you are using.
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"
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

3
zshrc
View File

@ -266,6 +266,9 @@ alias apt-key-refresh-keys="apt-key adv --keyserver pool.sks-keyservers.net --re
# To see which mirror http.debian.net puts you to. The file which has the latest update time is the mirror which you are using.
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"
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases