Hi! Brian Mattern <[email protected]> writes: > Is the echo necessary?
Well, dmenu reads from stdin so you need to echo into it (or do some `ls | sed` which forks) [0]. For xdotool you could get around by doing a `xdotool type "$(pass $passentry)"` but then everyone able to run `ps` or anything similar on your system can read xdotool's comandline parameters so the `echo -n "type " ; pass` is the "safe" solution. Christoph [0] http://git.zx2c4.com/password-store/tree/contrib/dmenu/passmenu uses `printf` but does that part basically the same way -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer
pgphN6UdmuoaM.pgp
Description: PGP signature
_______________________________________________ Password-Store mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/password-store
