Overview
Comment: | pw(s).fish: Fix key path |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ab536054eccd05a70055e6ce1fb53154 |
User & Date: | js 2020-02-28 01:05:50 |
Context
2020-02-29
| ||
23:06 | cross.fish: Add mingw32 check-in: db08e8e6d4 user: js tags: trunk | |
2020-02-28
| ||
01:05 | pw(s).fish: Fix key path check-in: ab536054ec user: js tags: trunk | |
01:02 | zshrc: Fix gpg-* aliases, add mpv alias check-in: 85778c1c83 user: js tags: trunk | |
Changes
Changes to fish/functions/pw.fish.
1 2 3 4 5 6 7 8 9 10 11 | 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 | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | 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 ~/.cryptopassphrase.key $argv | tr -d '\n' | $clipboard end |
Changes to fish/functions/pws.fish.
1 2 3 4 5 6 7 8 9 10 11 | 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 | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 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 ~/.cryptopassphrase-server.key $argv \ | tr -d '\n' | $clipboard end |