349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
|
alias gssh-add="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh ssh-add"
alias gsftp="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh sftp"
fi
if __has_command cryptopassphrase; then
pwnk() {
local clipboard
if __has_command pbcopy; then
clipboard=pbcopy
elif __has_command xclip; then
clipboard=xclip
else
echo "No clipboard handler found!"
return 1
fi
|
>
>
|
|
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
|
alias gssh-add="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh ssh-add"
alias gsftp="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh sftp"
fi
if __has_command cryptopassphrase; then
pwnk() {
local clipboard
if __has_command wl-copy; then
clipboard=wl-copy
elif __has_command pbcopy; then
clipboard=pbcopy
elif __has_command xclip; then
clipboard=xclip
else
echo "No clipboard handler found!"
return 1
fi
|