Added my lastpass command

This commit is contained in:
lanxu 2017-12-17 14:40:41 +02:00
parent 418d465437
commit 94eda5c3aa
2 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,3 @@
.log
.old
.swp

3
lastpass.sh Executable file
View File

@ -0,0 +1,3 @@
#!/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