mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-25 20:22:44 +01:00
bashrc & zshrc: add alias "apt-key-refresh-keys" to refresh keys in apt's keyring.
This commit is contained in:
parent
d8214bc948
commit
93cdd2ce35
3
bashrc
3
bashrc
@ -311,6 +311,9 @@ alias lmosh="mosh --server=~/.local/bin/mosh-server "
|
||||
# Secure cat
|
||||
alias scat="gpg --decrypt "
|
||||
|
||||
# To check are keys, which apt uses changed
|
||||
alias apt-key-refresh-keys="apt-key adv --keyserver pool.sks-keyservers.net --refresh-keys"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
3
zshrc
3
zshrc
@ -260,6 +260,9 @@ alias lmosh="mosh --server=~/.local/bin/mosh-server "
|
||||
# Secure cat
|
||||
alias scat="gpg --decrypt "
|
||||
|
||||
# To check are keys, which apt uses changed
|
||||
alias apt-key-refresh-keys="apt-key adv --keyserver pool.sks-keyservers.net --refresh-keys"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user