diff --git a/snippy b/snippy index ffbadb5..c1e8e3e 100755 --- a/snippy +++ b/snippy @@ -59,8 +59,8 @@ readonly placeholder_cursor="{cursor}" readonly placeholder_clipboard="{clipboard}" readonly placeholder_clipboard_urlencode="{clipboard_urlencode}" -readonly tmpfile -tmpfile=$(mktemp) +# shellcheck disable=2155 +readonly tmpfile=$(mktemp) trap 'rm -f $tmpfile' EXIT HUP INT TRAP TERM # colors