cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.76k stars 176 forks source link

Fix #288 - enable compatibility with `mktemp` from `uutils/coreutils` #291

Closed jhult closed 1 year ago

jhult commented 1 year ago

Per #288, use:

mktemp ${TMPDIR:/tmp}/mcfly.XXXXXXXX

instead of:

mktemp -t mcfly.XXXXXXXX

This enables compatibility with mktemp from uutils/coreutils.

cantino commented 1 year ago

Thanks @jhult!

cantino commented 1 year ago

I had to fix this in https://github.com/cantino/mcfly/commit/78a5422e7a2bd4213b13691183c020361aea608f because I told you the wrong syntax for defaulting a variable.