Fix shellcheck issue 2155

This commit is contained in:
BarbUk 2021-11-12 11:52:18 +01:00
parent d330281b59
commit c4a53091af
No known key found for this signature in database
GPG Key ID: DB301C759539E9FE

4
snippy
View File

@ -59,8 +59,8 @@ readonly placeholder_cursor="{cursor}"
readonly placeholder_clipboard="{clipboard}"
readonly placeholder_clipboard_urlencode="{clipboard_urlencode}"
# shellcheck disable=2155
readonly tmpfile=$(mktemp)
tmpfile=$(mktemp)
readonly tmpfile
trap 'rm -f $tmpfile' EXIT HUP INT TRAP TERM
# colors