configs  Artifact [d82ba2ca27]

Artifact d82ba2ca27cc2be3a35b4789ccf1b4e63943ceae02cd92342417e47a54aa32ae:

  • File config/fish/functions/pw.fish — part of check-in [bed5a23ae3] at 2020-02-19 21:46:19 on branch trunk — Consistent indenting for .fish files (user: js size: 296)
  • File fish/functions/pw.fish — part of check-in [24d2eb82f0] at 2020-02-20 22:07:34 on branch trunk — Remove useless config subdirectory (user: js size: 296)

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