1
1
Fork 0

Bring zsh and fish back in sync

This commit is contained in:
Jonathan Schleifer 2022-11-25 22:16:50 +00:00
parent 84a7f938fb
commit fe8461f4b8
9 changed files with 81 additions and 46 deletions

15
fish/functions/pwnk.fish Normal file
View file

@ -0,0 +1,15 @@
function pwnk
set -l clipboard
if type -q wl-copy
set clipboard wl-copy
else if type -q pbcopy
set clipboard pbcopy
else if type -q xclip
set clipboard xclip
else
echo "No clipboard handler found!"
return 1
end
cryptopassphrase $argv | tr -d '\n' | $clipboard
end