diff --git a/kittens/ssh/main.py b/kittens/ssh/main.py index ee32065ef..4d8ce1e23 100644 --- a/kittens/ssh/main.py +++ b/kittens/ssh/main.py @@ -12,7 +12,7 @@ SHELL_SCRIPT = '''\ #!/bin/sh # macOS ships with an ancient version of tic that cannot read from stdin, so we # create a temp file for it -tmp=$(mktemp /tmp/terminfo.XXXXXX) +tmp=$(mktemp) cat >$tmp << 'TERMEOF' TERMINFO TERMEOF