configs  Check-in [6276aeb66b]

Overview
Comment:zshrc: Add back sprunge

It seems to be back *and* support https now.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: 6276aeb66b24414575e0257de2785aa5e4a173d157f9253d18b913cd1f47ab4f
User & Date: js on 2024-03-11 21:53:00
Other Links: manifest | tags
Context
2024-03-11
21:53
zshrc: Add back sprunge Leaf check-in: 6276aeb66b user: js tags: trunk
2024-03-05
21:30
zshrc: Add no_hist_bang, map ^P and add gsshfs check-in: 33f7534131 user: js tags: trunk
Changes

Modified zshrc from [0442031747] to [d7b1800aa3].

418
419
420
421
422
423
424

425
426
427
428
429
430
431
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432







+








		cryptopassphrase $@ | tr -d '\n' | $clipboard
	}
	alias pw="pwnk -k ~/.cryptopassphrase.key"
	alias pws="pwnk -k ~/.cryptopassphrase-server.key"
fi

sprunge() { curl -F'sprunge=<-' https://sprunge.us }
0x0st() { curl -F'file=@-' https://0x0.st }

if [ -f /sys/class/power_supply/BAT0/power_now ]; then
	power_now() {
		awk '{ print $1*10^-6 " W" }' \
			/sys/class/power_supply/BAT0/power_now
	}