configs  Artifact [d82ba2ca27]

Artifact d82ba2ca27cc2be3a35b4789ccf1b4e63943ceae02cd92342417e47a54aa32ae:


function pw
    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.key $argv | tr -d '\n' | $clipboard
end