configs  Diff

Differences From Artifact [3f9323f5b9]:

To Artifact [ae819bde46]:


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
|

>
>
|








|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function pwnk
    set -l clipboard
    if type -q wl-copy
        set clipboard wl-copy
    else 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 $argv | tr -d '\n' | $clipboard
end