New tmux+auth function
This commit is contained in:
parent
9d67719bd3
commit
5f3ee34364
8
zshrc
8
zshrc
@ -450,6 +450,14 @@ function load-ssh-rsa() {
|
||||
fi
|
||||
}
|
||||
# }}}
|
||||
# Load all ssh|gpg key with tmux {{{
|
||||
function load-tmux-auth() {
|
||||
# If no ssh-key is in agent
|
||||
echo "test ssh-key"
|
||||
# If no gpg-key is in agent
|
||||
echo "test gpg-key"
|
||||
}
|
||||
# }}}
|
||||
# Clear old entries in known_hosts {{{
|
||||
function clearsshkey() {
|
||||
sed -i "${1}d" ~/.ssh/known_hosts
|
||||
|
Loading…
x
Reference in New Issue
Block a user