mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +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
|
# Secure cat
|
||||||
alias scat="gpg --decrypt "
|
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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
3
zshrc
3
zshrc
@ -260,6 +260,9 @@ alias lmosh="mosh --server=~/.local/bin/mosh-server "
|
|||||||
# Secure cat
|
# Secure cat
|
||||||
alias scat="gpg --decrypt "
|
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
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user