this repo has no description

[atuin] log in as an after script

+14
run_once_after_atuin_login.sh.tmpl
··· 1 + #!/bin/bash 2 + set -euo pipefail 3 + # set -xv 4 + 5 + echo "Logging in to atuin.sh..." 6 + 7 + if [[ "$(atuin status)" == "You are not logged in"* ]]; then 8 + atuin login \ 9 + -u '{{ onepasswordRead "op://Private/Atuin.sh/username" "indirect.1password.com" }}' \ 10 + -p '{{ onepasswordRead "op://Private/Atuin.sh/password" "indirect.1password.com" }}' \ 11 + -k '{{ onepasswordRead "op://Private/Atuin.sh/key" "indirect.1password.com" }}' 12 + else 13 + echo "Already logged in" 14 + fi