configs  Diff

Differences From Artifact [b674df0426]:

To Artifact [c82f434faf]:


372
373
374
375
376
377
378
379

380
381

382
383
384
385
386
387
388
372
373
374
375
376
377
378

379
380

381
382
383
384
385
386
387
388







-
+

-
+







	local sock
	if [ -d "$XDG_RUNTIME_DIR/gnupg" ]; then
		sock=$(find "$XDG_RUNTIME_DIR/gnupg" -name S.gpg-agent.ssh |
		       head -1)
	fi
	[ -n "$sock" ] || sock="$GNUPGHOME/S.gpg-agent.ssh"

	alias gssh="SSH_AUTH_SOCK=$sock ssh"
	alias gssh="SSH_AUTH_SOCK=$sock ssh -o IdentitiesOnly=no"
	alias gssh-add="SSH_AUTH_SOCK=$sock ssh-add"
	alias gsftp="SSH_AUTH_SOCK=$sock sftp"
	alias gsftp="SSH_AUTH_SOCK=$sock sftp -o IdentitiesOnly=no"
fi

if __has_command cryptopassphrase; then
	pwnk() {
		local clipboard
		if __has_command wl-copy; then
			clipboard=wl-copy