almnck/bin/a-ssh
2024-01-04 23:41:12 -08:00

10 lines
207 B
Bash
Executable file

#!/bin/zsh
script_dir=$(cd "$(dirname "$0")" && pwd)
declare -x ALMANACK_ROOT=$(dirname $script_dir)
a-pass() {
PASSWORD_STORE_DIR=$ALMANACK_ROOT/secrets/ env pass $*
}
ssh -F =(a-pass ssh/config) $*