configs  Check-in [ce84ad04e7]

Overview
Comment:Rename gpg-s* to gs*
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ce84ad04e730390e87337424a53e65ad43eb5ad3d38c4cbc6a43e2da560362f8
User & Date: js on 2020-09-12 13:17:24
Other Links: manifest | tags
Context
2020-09-18
13:47
Don't rely on tput check-in: b119513a53 user: js tags: trunk
2020-09-12
13:17
Rename gpg-s* to gs* check-in: ce84ad04e7 user: js tags: trunk
2020-09-11
12:51
Make SUDO_PROMPT less blinding check-in: 84ee6c3f2b user: js tags: trunk
Changes

Renamed and modified fish/functions/gpg-sftp.fish [6451ffb7b5] to fish/functions/gsftp.fish [b1fcb69640].

1
2
3
4
function gpg-sftp --wraps sftp
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    sftp $argv
end
|



1
2
3
4
function gsftp --wraps sftp
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    sftp $argv
end

Renamed and modified fish/functions/gpg-ssh-add.fish [133764904e] to fish/functions/gssh-add.fish [6565cf2f40].

1
2
3
4
function gpg-ssh-add --wraps ssh-add
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    ssh-add $argv
end
|



1
2
3
4
function gssh-add --wraps ssh-add
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    ssh-add $argv
end

Renamed and modified fish/functions/gpg-ssh.fish [56f32861ac] to fish/functions/gssh.fish [b6730a1130].

1
2
3
4
function gpg-ssh --wraps ssh
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    ssh $argv
end
|



1
2
3
4
function gssh --wraps ssh
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    ssh $argv
end

Modified zshrc from [0c9088de1d] to [7b40a0d9fc].

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