Remove useless config subdirectory
This commit is contained in:
parent
ed4a20897f
commit
26811f58ef
29 changed files with 3 additions and 3 deletions
14
fish/functions/pws.fish
Normal file
14
fish/functions/pws.fish
Normal file
|
@ -0,0 +1,14 @@
|
|||
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 ~/.scrypt-pwgen-server.key $argv \
|
||||
| tr -d '\n' | $clipboard
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue