mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
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:
parent
19b8da78ac
commit
4059cb51a5
1
bashrc
1
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 .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user