327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
|
__has_command url2pkg &&
alias url2pkg="MAKEFLAGS= url2pkg"
# mpv does not like locales that use , as decimal point.
__has_command mpv && alias mpv="LC_ALL=C mpv"
if __has_command gpg gpg2; then
alias gpg-ssh="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh ssh"
alias gpg-ssh-add="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh ssh-add"
alias gpg-sftp="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
|
|
|
|
|
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
|
__has_command url2pkg &&
alias url2pkg="MAKEFLAGS= url2pkg"
# mpv does not like locales that use , as decimal point.
__has_command mpv && alias mpv="LC_ALL=C mpv"
if __has_command gpg gpg2; then
alias gssh="SSH_AUTH_SOCK=$GNUPGHOME/S.gpg-agent.ssh ssh"
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
|