m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/darwin.sh
AgeCommit message (Collapse)Author
2018-08-01show: do not store binary data in bash varsJason A. Donenfeld
Instead we're forced to base64 it, like we do with the clipboard.
2018-06-14Close stdout for background task that restores clipboardAllan Odgaard
While we do not expect any output on stdout from the background task, keeping the file handle open means that anyone calling `pass` and waiting for stdout to be closed, will have to wait (by default) for 45 seconds.
2017-01-01show,generate: support qrcodesJason A. Donenfeld
2014-12-23darwin: Fix up order of operations.Jason A. Donenfeld
2014-09-21platform: find getopt in alternate osx locationsJamie Couture
Some users may use MacPorts instead of Homebrew. If brew fails to return a prefix for getopt, check if the user has 'port' installed and use the MacPort ${prefix} /opt/local. Avoids an issue where pass terminates because getopt cannot be resolved in the assumed location /usr/local/bin. Provide support to resolve absolute path of getopt from a MacPorts installation. Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
2014-07-24clip: use CLIP_TIME in messagesJason A. Donenfeld
2014-06-30darwin: allow for gnu mktemp in pathJason A. Donenfeld
2014-06-29darwin: fix mktemp argument orderJason A. Donenfeld
2014-06-29darwin: properly ejects ramdisksJason A. Donenfeld
In the move away from extensive global variables and improved cleanup routines, we forgot to fix the darwin platform file, which means temporary ramdisks never got unmounted. This patch cleans up the general cleanup trap logic routines.
2014-04-24Turns out aliases were a bad idea.Jason A. Donenfeld
2014-04-23Use aliases instead of variables for command portability.Jason A. Donenfeld
2014-04-15All globals are upper-case.Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-04-15Reorganize entire programJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-04-05Fix path to /dev/nullPeter Haza
2014-03-23clip: wait longer for slow systemsJason A. Donenfeld
2014-03-22clip: suppress kill errorJason A. Donenfeld
2014-03-22clip: do not race on osxJason A. Donenfeld
2014-03-18Shred shm files.Jason A. Donenfeld
2012-09-30Explicitly use gpg2 rather than relying on symlink.Jason A. Donenfeld
2012-09-22Normalize copyright headers.Jason A. Donenfeld
2012-09-18Quote the template.Jason A. Donenfeld
2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld