configs  Check-in [8e4a39ffca]

Overview
Comment:zshrc: Use wl-copy on Wayland
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8e4a39ffca5744ec6a41c5d43d16441f8b1fcd91ceeec69a3ccda7ff789d57f6
User & Date: js on 2021-03-21 10:14:56
Other Links: manifest | tags
Context
2021-03-26
05:06
Add ssh_config check-in: 7387ac8a42 user: js tags: trunk
2021-03-21
10:14
zshrc: Use wl-copy on Wayland check-in: 8e4a39ffca user: js tags: trunk
2021-03-06
01:19
vim: Use Ruby format for .cr files check-in: fb5740b982 user: js tags: trunk
Changes

Modified zshrc from [ba9378b4c4] to [e8fbc62c58].

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