scripts/lastpass.sh

4 lines
164 B
Bash
Executable File

#!/bin/sh
lpass ls | grep $1 | awk '{ if (match($0,/\[id: (.*)?\]/,m)) print m[1] }' | xargs lpass show
# --color=always --format="%ai %au %ap" # buggy lpass shit