Browse Source

pipe to clip

master
Markus Bergholz 1 year ago
parent
commit
22933f17cc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bash/function.bashrc

+ 2
- 2
bash/function.bashrc View File

@ -76,5 +76,5 @@ del() {
totp() {
TOKEN=$(jq ".$1" -r totp.json)
oathtool -b --totp $TOKEN
}
oathtool -b --totp $TOKEN | xclip
}

Loading…
Cancel
Save