pdb

Simple password manager
Log | Files | Refs

commit d0b70a1a4bafd1e858b058b84d148ebe47bcfbb9
parent dc26a10d7be113db0c4d345e652994858911df24
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon, 23 Jun 2014 15:51:28 +0100

Use set -e in bash and --clearmodifiers in xdotool

Diffstat:
pdbmenu | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/pdbmenu b/pdbmenu @@ -1,9 +1,7 @@ #! /bin/sh -SITE=$(pdb list | dmenu $*) - -if [ "$SITE" != "" ]; then - PW=$(pdb get "$SITE") +set -e - xdotool type "$PW" -fi +SITE=$(pdb list | dmenu $*) +PW=$(pdb get "$SITE") +xdotool type --clearmodifiers "$PW"