<div dir="ltr"><div style="color:rgb(33,33,33);font-size:13px">Hi,<br></div><div style="color:rgb(33,33,33);font-size:13px"><div><br></div><div>I just had a look inside pass for the first time ever and realised it could generate QR codes and display them on a graphical Linux/UNIX terminal. To display inline graphics on a Mac, one could use imgcat, often installed along with the iTerm2 terminal. Adding imgcat support to pass would be as simple as adding the following to the qrcode() function:</div><div><br></div><div>if type imgcat >/dev/null 2>&1; then</div><div>   echo -n "$1" | qrencode --size 10 -o - | imgcat</div><div>   return</div><div>fi</div><br class="inbox-inbox-m_5656049495740931404inbox-inbox-Apple-interchange-newline"></div><div style="color:rgb(33,33,33);font-size:13px">To make the function Apple-compatible using the default image viewer, one would have to create a temporary file, open it with the `open` command, and remove the file once the default image viewer is closed. Not something i'd care to do :)</div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">As i just joined this list, i don't know if this has been discussed here, or if it's even anything you'd appreciate as an addition.<br></div><div style="color:rgb(33,33,33);font-size:13px"><br></div><div style="color:rgb(33,33,33);font-size:13px">Thanks and regards,</div><div style="color:rgb(33,33,33);font-size:13px"> ~Robin Laurén @ reaktor</div></div>