diff options
| author | Marc Vertes <mvertes@free.fr> | 2023-05-26 11:07:01 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2023-05-26 11:07:01 +0200 |
| commit | d56b6f65e8d895c1e8e7920a6aef6d2a06312589 (patch) | |
| tree | 14bfce2dd63b4488fb6f78d32f45f7dfc0b6fbec | |
| parent | dae618ee1c8c8c80f6e6d0b1ee4fb1c503eb71e7 (diff) | |
update
| -rw-r--r-- | .bashrc | 2 | ||||
| -rwxr-xr-x | bin/gauth | 8 |
2 files changed, 4 insertions, 6 deletions
@@ -151,7 +151,7 @@ meteo() { #[ -f "$base/usr/share/fzf/completion.bash" ] && . "$base/usr/share/fzf/completion.bash" #[ -f "$base/usr/share/fzf/key-bindings.bash" ] && . "$base/usr/share/fzf/key-bindings.bash" #unset base -export FZF_DEFAULT_COMMAND='rg --files --ignore-vcs --hidden' +export FZF_DEFAULT_COMMAND='rg -i --files --ignore-vcs --hidden' eval "$(zoxide init bash)" @@ -1,11 +1,9 @@ #!/bin/sh # Use backup from andOTP -#gpg -qd ~/otp_accounts.json.gpg.pgp | -#gpg -qd ~/.otp_accounts.json.gpg | #cat ~/otp_accounts.json | gpg -qd ~/.otp.gpg | -jq -r '.[] | "\(.label) \(.secret)"' | -while read -r l s; do - echo "$l $(oathtool --totp -b "$s")" +jq -r '.[] | "\(.label) \(.secret) \(.issuer)"' | +while read -r l s i; do + printf "%-32s %-10s %s\n" "$l" "$i" "$(oathtool --totp -b "$s")" done |
