configs  Check-in [ab536054ec]

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: ab536054eccd05a70055e6ce1fb53154f694397df674ce37d5968ca3a147fd7d
User & Date: js on 2020-02-28 01:05:50
Other Links: manifest | tags
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

Modified fish/functions/pw.fish from [d82ba2ca27] to [3f9323f5b9].

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 ~/.scrypt-pwgen.key $argv | tr -d '\n' | $clipboard
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

Modified fish/functions/pws.fish from [0888de4a7d] to [8c5fe78007].

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 ~/.scrypt-pwgen-server.key $argv \
        | tr -d '\n' | $clipboard
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