mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 10:42:55 +01:00
bashrc & zshrc: add alias gpg-key-amount to show how many keys there are in pubring.
This commit is contained in:
parent
cf2e8ae62a
commit
19b8da78ac
3
bashrc
3
bashrc
@ -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
3
zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user