Bring zsh and fish back in sync
This commit is contained in:
parent
84a7f938fb
commit
fe8461f4b8
9 changed files with 81 additions and 46 deletions
|
@ -1,14 +1,3 @@
|
|||
function pws
|
||||
set -l clipboard
|
||||
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 -k ~/.cryptopassphrase-server.key $argv \
|
||||
| tr -d '\n' | $clipboard
|
||||
function pw --wraps pwnk
|
||||
pwnk -k ~/.cryptopassphrase-server.key $argv
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue