1
1
Fork 0

Add fish config

This commit is contained in:
Jonathan Schleifer 2020-01-21 00:11:28 +00:00
parent c4af1c28aa
commit f1d4f3fd36
16 changed files with 215 additions and 0 deletions

View file

@ -0,0 +1,13 @@
function pw
set -l clipboard
if which pbcopy >/dev/null
set clipboard pbcopy
else if which xclip >/dev/null
set clipboard xclip
else
echo "No clipboard handler found!"
return 1
end
cryptopassphrase -k ~/.scrypt-pwgen.key $argv | tr -d '\n' | $clipboard
end