forked from DustVoice/dotfiles
Cleanup some more
This commit is contained in:
parent
ea207177f8
commit
ba19df3e5b
1 changed files with 0 additions and 10 deletions
10
.zsh_alias
10
.zsh_alias
|
@ -174,18 +174,8 @@ function hyperv-gpg-agent() {
|
|||
(setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59545)
|
||||
}
|
||||
|
||||
function hyperv-gpg-agent-extra() {
|
||||
socket_path="$HOME/.gnupg/S.gpg-agent.extra"
|
||||
host_ip=$(ip route show 0.0.0.0/0 dev eth0 | cut -d\ -f3)
|
||||
if [[ -f $socket_path ]]; then
|
||||
rm $socket_path
|
||||
fi
|
||||
(setsid socat UNIX-LISTEN:$socket_path,fork tcp-connect:$host_ip:59544)
|
||||
}
|
||||
|
||||
function hyperv-ssh-agent() {
|
||||
socket_path="$HOME/.gnupg/S.gpg-agent.ssh"
|
||||
#socket_path="$HOME/.ssh/agent.sock"
|
||||
host_ip=$(ip route show 0.0.0.0/0 dev eth0 | cut -d\ -f3)
|
||||
if [[ -f $socket_path ]]; then
|
||||
rm $socket_path
|
||||
|
|
Loading…
Reference in a new issue