#!/usr/bin/env sh

keyfile=$(sed 's/\.sh$//' <<< $0)
pass show "personal/ssh/$(basename $keyfile)" | head -n 1

#!/usr/bin/env sh

keyfile=$(sed 's/\.sh$//' <<< $0)
pass show "ssh/$(basename $keyfile)" | head -n 1

Move ssh passwords to separate pass dir
Move ssh passwords to separate pass dir
